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