aboutsummaryrefslogtreecommitdiff
path: root/gcc/jit/ChangeLog
diff options
context:
space:
mode:
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-12-19 20:34:39 +0000
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-12-19 20:34:39 +0000
commitbedd686385875f1706b0bf60f5ba8bf2ebd0321e (patch)
tree38f2815dfec52b775911a30f80c2bf77d568aea7 /gcc/jit/ChangeLog
parente2afa5c10fd41fe708959121f373fcb5435ef5d6 (diff)
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218977 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/jit/ChangeLog')
-rw-r--r--gcc/jit/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog
index 8f3f412126e..09e5c8a1def 100644
--- a/gcc/jit/ChangeLog
+++ b/gcc/jit/ChangeLog
@@ -1,5 +1,11 @@
2014-12-19 David Malcolm <dmalcolm@redhat.com>
+ * jit-playback.c (gcc::jit::playback::context::build_cast): In
+ case BOOLEAN_TYPE, don't assume that the source expression is
+ of type "int".
+
+2014-12-19 David Malcolm <dmalcolm@redhat.com>
+
* jit-recording.c (gcc::jit::recording::context::context): When
copying string options from a parent context, take a copy of the
underlying buffers, rather than simply copying the pointer.