[Bug c/54559] [4.7/4.8 Regression], ICE in gimplify_expr, at gimplify.c:7592

2012-09-13 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54559

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #6 from Jakub Jelinek  2012-09-14 
06:11:50 UTC ---
Fixed.


[Bug c/54559] [4.7/4.8 Regression], ICE in gimplify_expr, at gimplify.c:7592

2012-09-13 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54559

--- Comment #5 from Jakub Jelinek  2012-09-13 
17:04:59 UTC ---
Author: jakub
Date: Thu Sep 13 17:04:44 2012
New Revision: 191271

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191271
Log:
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.

Added:
branches/gcc-4_7-branch/gcc/testsuite/gcc.c-torture/compile/pr54559.c
Modified:
branches/gcc-4_7-branch/gcc/ChangeLog
branches/gcc-4_7-branch/gcc/c-typeck.c
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog


[Bug c/54559] [4.7/4.8 Regression], ICE in gimplify_expr, at gimplify.c:7592

2012-09-13 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54559

--- Comment #4 from Jakub Jelinek  2012-09-13 
16:57:31 UTC ---
Author: jakub
Date: Thu Sep 13 16:57:15 2012
New Revision: 191270

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191270
Log:
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.

Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr54559.c
Modified:
trunk/gcc/c/ChangeLog
trunk/gcc/c/c-typeck.c
trunk/gcc/testsuite/ChangeLog


[Bug c/54559] [4.7/4.8 Regression], ICE in gimplify_expr, at gimplify.c:7592

2012-09-13 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54559

Richard Guenther  changed:

   What|Removed |Added

   Priority|P3  |P1
  Known to work|4.8.0   |
Summary|[4.7 Regression], ICE in|[4.7/4.8 Regression], ICE
   |gimplify_expr, at   |in gimplify_expr, at
   |gimplify.c:7592 |gimplify.c:7592
  Known to fail||4.8.0

--- Comment #3 from Richard Guenther  2012-09-13 
09:33:43 UTC ---
Trunk also fails for me.  P1.