r236953 - in /branches/gcc-6-branch/gcc: cp/Cha...

jason@gcc.gnu.org jason@gcc.gnu.org
Tue May 31 21:36:00 GMT 2016


Author: jason
Date: Tue May 31 21:36:34 2016
New Revision: 236953

URL: https://gcc.gnu.org/viewcvs?rev=236953&root=gcc&view=rev
Log:
	PR c++/60095 - partial specialization of variable templates

	PR c++/69515
	PR c++/69009
	* pt.c (instantiate_template_1): Don't put the partial
	specialization in DECL_TI_TEMPLATE.
	(partial_specialization_p, impartial_args): Remove.
	(regenerate_decl_from_template): Add args parm.
	(instantiate_decl): Look up the partial specialization again.

Added:
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp1y/var-templ39a.C
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp1y/var-templ51.C
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp1y/var-templ52.C
Modified:
    branches/gcc-6-branch/gcc/cp/ChangeLog
    branches/gcc-6-branch/gcc/cp/pt.c
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp1y/var-templ39.C



More information about the Gcc-cvs mailing list