This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug objc++/23707] New: ICE on invalid code after error
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Sep 2005 01:48:17 -0000
- Subject: [Bug objc++/23707] New: ICE on invalid code after error
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Testcase:
@implementation SaturnDoc
- read: (void*)aStream ggg
-----
Found while looking into fixing PR 7098.
The error/ICE message:
t.mm:2: error: expected `:' at end of input
t.mm:2: error: expected identifier at end of input
t.mm: In function 'objc_object* -[SaturnDoc read:ggg:](SaturnDoc*, objc_selector*, void*, objc_object*)':
t.mm:2: internal compiler error: tree check: expected identifier_node, have error_mark in
lookup_name_innermost_nonclass_level, at cp/name-lookup.c:4059
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: ICE on invalid code after error
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, error-recovery
Severity: normal
Priority: P2
Component: objc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23707