This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/84368] [8 Regression] return type of generic lambda in variadic lambda in template is not deduced
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 15 Feb 2018 18:16:33 +0000
- Subject: [Bug c++/84368] [8 Regression] return type of generic lambda in variadic lambda in template is not deduced
- Auto-submitted: auto-generated
- References: <bug-84368-4@http.gcc.gnu.org/bugzilla/>
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