diff options
author | Douglas Gregor <doug.gregor@gmail.com> | 2008-03-27 14:31:47 +0000 |
---|---|---|
committer | Doug Gregor <dgregor@gcc.gnu.org> | 2008-03-27 14:31:47 +0000 |
commit | 063cc99c4658d52b33b37f4173d304efa9c68b00 (patch) | |
tree | 85efa960309333d8820defc88b6374fdcae35ac4 /gcc/c-errors.c | |
parent | c91c9c2ee8a877a31e6a4ecf93b3fe0d779afcc0 (diff) | |
download | gcc-063cc99c4658d52b33b37f4173d304efa9c68b00.zip gcc-063cc99c4658d52b33b37f4173d304efa9c68b00.tar.gz gcc-063cc99c4658d52b33b37f4173d304efa9c68b00.tar.bz2 |
pt.c (tsubst_copy): Cope with tsubst_pack_expansion returning a pack expansion...
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.
From-SVN: r133642
Diffstat (limited to 'gcc/c-errors.c')
0 files changed, 0 insertions, 0 deletions