[Bug c++/84368] [8 Regression] return type of generic lambda in variadic lambda in template is not deduced

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 15 18:27:00 GMT 2018


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

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Feb 15 18:15:32 2018
New Revision: 257699

URL: https://gcc.gnu.org/viewcvs?rev=257699&root=gcc&view=rev
Log:
        PR c++/84368 - wrong error with local variable in variadic lambda.

        * pt.c (tsubst_pack_expansion): Fix handling of non-packs in
        local_specializations.

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


More information about the Gcc-bugs mailing list