[Bug c++/84036] [8 Regression] ICE on valid code in C++14, variadic lambda capture in a template function
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 1 18:45:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84036
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Feb 1 18:44:41 2018
New Revision: 257307
URL: https://gcc.gnu.org/viewcvs?rev=257307&root=gcc&view=rev
Log:
PR c++/84126 - ICE with variadic generic lambda
PR c++/84036
PR c++/82249
* pt.c (tsubst_pack_expansion): Handle function parameter_packs in
PACK_EXPANSION_EXTRA_ARGS.
Added:
trunk/gcc/testsuite/g++.dg/cpp1y/lambda-generic-variadic9.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/pt.c
More information about the Gcc-bugs
mailing list