re PR c++/66405 (ICE: in tsubst, at cp/pt.c:11984)
authorJason Merrill <jason@redhat.com>
Fri, 5 Jun 2015 19:14:02 +0000 (15:14 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 5 Jun 2015 19:14:02 +0000 (15:14 -0400)
commit39f383b700a2ca9bbffb78a235c62b152a662425
treeaf6fb47c02a8cc32005654f2519fd1a587d3e761
parent85d9a299152839de26b0f18b6755334a8f90592e
re PR c++/66405 (ICE: in tsubst, at cp/pt.c:11984)

PR c++/66405
* pt.c (argument_pack_element_is_expansion_p): Return 2 if
the expansion has extra args.
(use_pack_expansion_extra_args_p): Return true in that case.

From-SVN: r224163
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp0x/variadic-alias1.C [new file with mode: 0644]