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

nathan@gcc.gnu.org nathan@gcc.gnu.org
Fri Jul 13 15:33:00 GMT 2018


Author: nathan
Date: Fri Jul 13 15:33:27 2018
New Revision: 262637

URL: https://gcc.gnu.org/viewcvs?rev=262637&root=gcc&view=rev
Log:
[PR c++/86374] Name lookup failure in enclosing template

https://gcc.gnu.org/ml/gcc-patches/2018-07/msg00701.html
	PR c++/86374
	* pt.c (lookup_template_class_1): Use tsubst_aggr_type for
	contexts that are classes.
	* parser.c (cp_parser_template_id): Combine entering_scope decl &
	initializer.

	PR c++/86374
	* g++.dg/pr86374.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/pr86374.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list