r208178 - in /trunk/gcc: cp/ChangeLog cp/pt.c t...

jason@gcc.gnu.org jason@gcc.gnu.org
Wed Feb 26 17:08:00 GMT 2014


Author: jason
Date: Wed Feb 26 17:08:20 2014
New Revision: 208178

URL: http://gcc.gnu.org/viewcvs?rev=208178&root=gcc&view=rev
Log:
	PR c++/54440
	* pt.c (get_template_parm_index): New.
	(fixed_parameter_pack_p_1, fixed_parameter_pack_p): New.
	(process_template_parm): Allow bare packs in template template
	parm template parms.
	(coerce_template_parameter_pack): Handle fixed template template
	parm packs and fixed packs not at the end of the parm list.
	(coerce_template_parms): Handle template parm packs not at the end
	of the parm list.
	(gen_elem_of_pack_expansion_instantiation): Handle a decl expansion.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/variadic151.C
    trunk/gcc/testsuite/g++.dg/cpp0x/variadic152.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/g++.dg/cpp0x/variadic74.C



More information about the Gcc-cvs mailing list