https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84455
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Tue Feb 20 08:20:37 2018 New Revision: 257838 URL: https://gcc.gnu.org/viewcvs?rev=257838&root=gcc&view=rev Log: PR c++/84455 * pt.c (tsubst_lambda_expr): If not nested, increment temporarily function_depth to avoid GC during finish_lambda_function. * g++.dg/cpp0x/lambda/lambda-ice26.C: New test. Added: trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice26.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog
