aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2014-12-19 20:34:39 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2014-12-19 20:34:39 +0000
commite8af59bc73dc39f8932a812bf1d265281b2dd7d0 (patch)
tree38f2815dfec52b775911a30f80c2bf77d568aea7 /gcc/tree-inline.c
parent6db4bc6e2553169f6bf1214d7cbb95e2d0060402 (diff)
downloadgcc-e8af59bc73dc39f8932a812bf1d265281b2dd7d0.zip
gcc-e8af59bc73dc39f8932a812bf1d265281b2dd7d0.tar.gz
gcc-e8af59bc73dc39f8932a812bf1d265281b2dd7d0.tar.bz2
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
Diffstat (limited to 'gcc/tree-inline.c')
0 files changed, 0 insertions, 0 deletions