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++/23707] New: ICE on invalid code after error


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


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