The following invalid code snippet causes an ICE in 3.3.x, 3.4.3,
and mainline (but not in 3.4.[012]):

=========================
void foo()
{
   for (;struct A{};);
}
=========================

-- 
           Summary: [3.4/4.0 regression] ICE on struct declaration in for
                    statement
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, error-recovery, monitored
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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

Reply via email to