]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c/ChangeLog
re PR c/54559 (, ICE in gimplify_expr, at gimplify.c:7592)
authorJakub Jelinek <jakub@redhat.com>
Thu, 13 Sep 2012 16:57:15 +0000 (18:57 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 13 Sep 2012 16:57:15 +0000 (18:57 +0200)
commit9feb29df994174d571b3fba6e6a60c24a2dc111c
treedceaecf6caccc38202d585c1f0c520e92dbf4fbb
parent8bf4ee3426b1db80cf4cb18295477ae85c425105
re PR c/54559 (, ICE in gimplify_expr, at gimplify.c:7592)

PR c/54559
* c-typeck.c (c_finish_return): Do convert to BOOLEAN_TYPE or
COMPLEX_TYPE with in_late_binary_op set temporarily to true.

* gcc.c-torture/compile/pr54559.c: New test.

From-SVN: r191270
gcc/c/ChangeLog
gcc/c/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr54559.c [new file with mode: 0644]