PR c++/84182 - ICE with captured lambda
authorJason Merrill <jason@redhat.com>
Wed, 7 Feb 2018 16:02:50 +0000 (11:02 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 7 Feb 2018 16:02:50 +0000 (11:02 -0500)
commit828ca2ed0bd81c6aeb6ec8e45e8f30c0441a382c
treeffa7c3822369d274b77b3f3db82e1cad297a0e6b
parentb210f45f527eb017810af815bbb97a8f6939385f
PR c++/84182 - ICE with captured lambda

PR c++/84181
* pt.c (extract_locals_r, extract_local_specs): New.
(tsubst_pack_expansion): Use them.

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