diff options
author | Doug Gregor <dgregor@gcc.gnu.org> | 2007-10-30 13:36:34 +0000 |
---|---|---|
committer | Doug Gregor <dgregor@gcc.gnu.org> | 2007-10-30 13:36:34 +0000 |
commit | 88b823145ebb0a22cbfd20ffb781a3bca69c8f45 (patch) | |
tree | 7361b26a0031a395f87ecf7275303a233b1042a0 /gcc/tree-ssa.c | |
parent | 310750d8ec5621e9f4c33db6b18de319cd7bc7f1 (diff) | |
download | gcc-88b823145ebb0a22cbfd20ffb781a3bca69c8f45.zip gcc-88b823145ebb0a22cbfd20ffb781a3bca69c8f45.tar.gz gcc-88b823145ebb0a22cbfd20ffb781a3bca69c8f45.tar.bz2 |
re PR c++/31993 (ICE with template class in variadic template class)
2007-10-30 Douglas Gregor <doug.gregor@gmail.com>
PR c++/31993
PR c++/32252
* pt.c (find_parameter_packs_r): Fix typo in comment.
(convert_template_argument): Look at the pattern of a pack
expansion to determine what kind of entity we're converting.
(coerce_template_parameter_pack): When we have coerced a non-type
template parameter pack, substitute into the type of that pack.
(tsubst_pack_expansion): When our substitution of a parameter pack
is a "trivial" substitution of itself, just substitute into the
pack expansion rather than actually expanding.
2007-10-30 Douglas Gregor <doug.gregor@gmail.com>
PR c++/31993
PR c++/32252
* g++.dg/cpp0x/pr31993.C: New
* g++.dg/cpp0x/pr32252.C: New
From-SVN: r129773
Diffstat (limited to 'gcc/tree-ssa.c')
0 files changed, 0 insertions, 0 deletions