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]

r226642 - in /trunk/gcc: cp/ChangeLog cp/cp-tre...


Author: jason
Date: Wed Aug  5 17:56:14 2015
New Revision: 226642

URL: https://gcc.gnu.org/viewcvs?rev=226642&root=gcc&view=rev
Log:
	PR c++/66260
	PR c++/66596
	PR c++/66649
	PR c++/66923
	* pt.c (lookup_template_variable): Use NULL_TREE for type.
	(instantiate_template_1): Also set DECL_TI_ARGS based on
	the immediate parent.
	(tsubst_copy_and_build) [TEMPLATE_ID_EXPR]: Handle variable templates.
	(finish_template_variable): Add complain parm.
	* cp-tree.h: Adjust.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/var-templ36.C
    trunk/gcc/testsuite/g++.dg/cpp1y/var-templ38.C
    trunk/gcc/testsuite/g++.dg/cpp1y/var-templ39.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/g++.dg/cpp1y/var-templ32.C
    trunk/gcc/testsuite/g++.dg/cpp1y/var-templ35.C


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