This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/84455] [8 Regression] ICE in build_call_a at gcc/cp/call.c:389 during error reporting
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 20 Feb 2018 08:21:11 +0000
- Subject: [Bug c++/84455] [8 Regression] ICE in build_call_a at gcc/cp/call.c:389 during error reporting
- Auto-submitted: auto-generated
- References: <bug-84455-4@http.gcc.gnu.org/bugzilla/>
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