This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/35736] New: [4.4 regression] ICE with continue and -Wall
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Mar 2008 18:22:39 -0000
- Subject: [Bug c/35736] New: [4.4 regression] ICE with continue and -Wall
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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