This is the mail archive of the gcc-cvs@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]

r249752 - in /trunk/gcc: cp/ChangeLog cp/parser...


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


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