This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/35736] New: [4.4 regression] ICE with continue and -Wall


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]