gcc/gcc/jit
David Malcolm e8af59bc73 Fix casting non-"int" to bool.
gcc/jit/ChangeLog:
	* jit-playback.c (gcc::jit::playback::context::build_cast): In
	case BOOLEAN_TYPE, don't assume that the source expression is
	of type "int".

gcc/testsuite/ChangeLog:
	* jit.dg/test-expressions.c (make_tests_of_casts): Add tests of
	casting between "long" and "bool".
	(verify_casts): Verify these new test cases.

From-SVN: r218977
2014-12-19 20:34:39 +00:00
..
docs Document gccjit::context::set_str_option 2014-12-11 17:50:56 +00:00
ChangeLog Fix casting non-"int" to bool. 2014-12-19 20:34:39 +00:00
ChangeLog.jit
Make-lang.in Add jit-tempdir.{c|h} 2014-12-09 20:00:07 +00:00
TODO.rst
config-lang.in
dummy-frontend.c
jit-builtins.c PR jit/64020: Fixes to handling of builtins 2014-12-01 18:23:37 +00:00
jit-builtins.h PR jit/64020: Fixes to handling of builtins 2014-12-01 18:23:37 +00:00
jit-common.h Add jit-tempdir.{c|h} 2014-12-09 20:00:07 +00:00
jit-playback.c Fix casting non-"int" to bool. 2014-12-19 20:34:39 +00:00
jit-playback.h Add jit-tempdir.{c|h} 2014-12-09 20:00:07 +00:00
jit-recording.c Fix issue with string options and nested gcc_jit_contexts 2014-12-19 20:11:16 +00:00
jit-recording.h Minor interface cleanups of libgccjit 2014-12-11 04:31:52 +00:00
jit-result.c Move gcc_jit_result implementation to a new files jit-result.{h|c} 2014-12-01 17:52:03 +00:00
jit-result.h Move gcc_jit_result implementation to a new files jit-result.{h|c} 2014-12-01 17:52:03 +00:00
jit-tempdir.c Add jit-tempdir.{c|h} 2014-12-09 20:00:07 +00:00
jit-tempdir.h Add jit-tempdir.{c|h} 2014-12-09 20:00:07 +00:00
libgccjit++.h Minor interface cleanups of libgccjit 2014-12-11 04:31:52 +00:00
libgccjit.c PR jit/64166: Add API entrypoint gcc_jit_context_enable_dump 2014-12-09 15:35:39 +00:00
libgccjit.h Minor interface cleanups of libgccjit 2014-12-11 04:31:52 +00:00
libgccjit.map PR jit/64166: Add API entrypoint gcc_jit_context_enable_dump 2014-12-09 15:35:39 +00:00
notes.txt Guard less code with the JIT mutex 2014-12-09 18:51:04 +00:00