This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/18095] New: [4.0 regression] ICE in cp_lexer_consume_token on missing ";"
- 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: 21 Oct 2004 08:18:53 -0000
- Subject: [Bug c++/18095] New: [4.0 regression] ICE in cp_lexer_consume_token on missing ";"
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following testcases cause an ICE on mainline:
====================
struct A
====================
====================
struct A {}
====================
The error message is
nase.cc:1: internal compiler error: in cp_lexer_consume_token, at
cp/parser.c:547
Please submit a full bug report, [etc.]
The regression was introduced yesterday or today.
I strongly suspect Nathan's patch
http://gcc.gnu.org/ml/gcc-cvs/2004-10/msg01185.html
Nathan, could you please have a look?
--
Summary: [4.0 regression] ICE in cp_lexer_consume_token on
missing ";"
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, monitored
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org,nathan at gcc dot gnu
dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18095