This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]