r249857 - in /branches/gcc-7-branch/gcc: cp/Cha...
jason@gcc.gnu.org
jason@gcc.gnu.org
Fri Jun 30 22:20:00 GMT 2017
Author: jason
Date: Fri Jun 30 22:20:22 2017
New Revision: 249857
URL: https://gcc.gnu.org/viewcvs?rev=249857&root=gcc&view=rev
Log:
PR c++/54769 - wrong lookup of dependent template-name.
PR c++/81257 - ICE with invalid ::template.
* 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.
Added:
branches/gcc-7-branch/gcc/testsuite/g++.dg/parse/template-keyword1.C
branches/gcc-7-branch/gcc/testsuite/g++.dg/template/lookup11.C
Modified:
branches/gcc-7-branch/gcc/cp/ChangeLog
branches/gcc-7-branch/gcc/cp/parser.c
More information about the Gcc-cvs
mailing list