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 objc++/31125] New: ICE on @interface without identifier


The following invalid code snippet triggers an ICE since GCC 4.1.0:

===============
@interface
===============

bug.mm:1: error: expected identifier at end of input
bug.mm:1: internal compiler error: tree check: expected identifier_node, have
error_mark in outer_binding, at cp/name-lookup.c:3886
Please submit a full bug report, [etc.]


-- 
           Summary: ICE on @interface without identifier
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, error-recovery, monitored, ice-
                    checking
          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=31125


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