This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug objc++/31125] New: ICE on @interface without identifier
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Mar 2007 23:17:16 -0000
- Subject: [Bug objc++/31125] New: ICE on @interface without identifier
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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