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

dgregor@gcc.gnu.org dgregor@gcc.gnu.org
Thu Mar 27 14:31:00 GMT 2008


Author: dgregor
Date: Thu Mar 27 14:31:47 2008
New Revision: 133642

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133642
Log:
2008-03-27  Douglas Gregor  <doug.gregor@gmail.com>

	* pt.c (tsubst_copy) <case SIZEOF_EXPR>: Cope with
	tsubst_pack_expansion returning a pack expansion, or a TREE_VEC
	ending in a pack expansion, both of which can occur when
	substituting into a nested template.
	(tsubst_copy_and_build) <case SIZEOF_EXPR>: When we're
	instantiating the sizeof...(X) form, make tsubst_copy do the work.
	* parser.c (cp_parser_template_parameter): Deal with unnamed
	non-type template parameter packs identified by pack expansions in
	the parameter type.

2008-03-27  Douglas Gregor  <doug.gregor@gmail.com>

       * g++.dg/cpp0x/variadic91.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/variadic91.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