PR c++/84036 - ICE with variadic capture.
authorJason Merrill <jason@redhat.com>
Fri, 26 Jan 2018 17:10:24 +0000 (12:10 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 26 Jan 2018 17:10:24 +0000 (12:10 -0500)
commit41d733d943d25c83fffe587145271b6669e87984
tree66c963b648f8be5106283b37c8e2ede45d3ec455
parenta011292a9e0c4fc64738237f01a0fd03ff07a6ae
PR c++/84036 - ICE with variadic capture.

PR c++/82249
* pt.c (tsubst_pack_expansion): When optimizing a simple
substitution, pull a single pack expansion out of its pack.

From-SVN: r257101
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp1y/lambda-generic-variadic8.C [new file with mode: 0644]