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 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


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


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