[Bug c/35736] New: [4.4 regression] ICE with continue and -Wall
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Mar 28 18:23:00 GMT 2008
The following valid code snippet triggers an ICE on mainline
when compiled with "-Wall":
=========================================
void foo()
{
while (1)
for (;;({ continue; }))
;
}
=========================================
bug.c: In function 'foo':
bug.c:4: internal compiler error: Segmentation fault
Please submit a full bug report, [etc.]
The bug appeared between 2008-03-15 and 2008-03-20.
The C++ frontend is not affected.
--
Summary: [4.4 regression] ICE with continue and -Wall
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, monitored
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35736
More information about the Gcc-bugs
mailing list