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