https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84036

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Jan 26 17:10:24 2018
New Revision: 257101

URL: https://gcc.gnu.org/viewcvs?rev=257101&root=gcc&view=rev
Log:
        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.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/lambda-generic-variadic8.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c

Reply via email to