[Bug objc++/31126] New: Infinite loop on missing @end

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Mar 10 23:23:00 GMT 2007


The compiler enters an infinite loop since GCC 4.1.0 on the following
invalid code snippet:

===============
@interface A
===============

bug.mm:1: error: expected unqualified-id at end of input
bug.mm:1: error: expected unqualified-id at end of input
bug.mm:1: error: expected unqualified-id at end of input
bug.mm:1: error: expected unqualified-id at end of input
bug.mm:1: error: expected unqualified-id at end of input
...


-- 
           Summary: Infinite loop on missing @end
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: error-recovery, monitored
          Severity: normal
          Priority: P3
         Component: objc++
        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=31126



More information about the Gcc-bugs mailing list