This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13438] New: [3.4 Regression] internal compiler error: tree check: expected identifier_node, have integer_cst in c_parse_error at c-common.c:5921
- 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: 19 Dec 2003 04:59:16 -0000
- Subject: [Bug c++/13438] New: [3.4 Regression] internal compiler error: tree check: expected identifier_node, have integer_cst in c_parse_error at c-common.c:5921
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
struct A { friend typename struct B; };
This is a very recent regression as Phil's regression hunter only goes to 20031209.
And it is most likely caused by:
2003-12-17 Mark Mitchell <mark@codesourcery.com>
PR c++/10603
PR c++/12827
* parser.c (cp_parser_error): Help c_parse_error print good
messages if the next token is a keyword.
(cp_parser_parameter_declaration_list): When resynchronizing after
a bad parameter declaration, stop if a comma is found.
(cp_parser_parameter_declaration): Avoid backtracking.
--
Summary: [3.4 Regression] internal compiler error: tree check:
expected identifier_node, have integer_cst in
c_parse_error at c-common.c:5921
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, error-recovery
Severity: minor
Priority: P2
Component: c++
AssignedTo: mark at codesourcery dot com
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=13438