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++/64127] [5 regression] ICE on invalid: tree check: expected identifier_node, have template_id_expr in cp_parser_diagnose_invalid_type_name, at cp/parser.c:2980


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64127

--- Comment #5 from Kai Tietz <ktietz at gcc dot gnu.org> ---
Author: ktietz
Date: Wed Dec 10 11:29:22 2014
New Revision: 218573

URL: https://gcc.gnu.org/viewcvs?rev=218573&root=gcc&view=rev
Log:
    PR c++/64127
    * parser.c (cp_parser_diagnose_invalid_type_name): Check id
    for being an identifier before accessing it.


Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c


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