[Bug c/32295] An invalid c code causes an ICE in create_tmp_var, at gimplify.c:489

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jun 12 01:18:00 GMT 2007



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-06-12 01:18 -------
Reduced testcase:
static enum warn overflow;
int foo (void)
{
 return overflow;
}

I think this is valid GNU C, though invalid standard C.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|ice-on-invalid-code         |
   Last reconfirmed|0000-00-00 00:00:00         |2007-06-12 01:18:14
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32295



More information about the Gcc-bugs mailing list