r249752 - in /trunk/gcc: cp/ChangeLog cp/parser...
jason@gcc.gnu.org
jason@gcc.gnu.org
Wed Jun 28 19:41:00 GMT 2017
Author: jason
Date: Wed Jun 28 19:41:36 2017
New Revision: 249752
URL: https://gcc.gnu.org/viewcvs?rev=249752&root=gcc&view=rev
Log:
PR c++/54769 - wrong lookup of dependent template-name.
* parser.c (cp_parser_template_name): Handle dependent object type.
(cp_parser_nested_name_specifier_opt): Make template_keyword_p a
parameter.
(cp_parser_id_expression): Pass it.
(cp_parser_diagnose_invalid_type_name): Handle TEMPLATE_ID_EXPR.
Added:
trunk/gcc/testsuite/g++.dg/template/lookup11.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
More information about the Gcc-cvs
mailing list