[Bug c++/84455] [8 Regression] ICE in build_call_a at gcc/cp/call.c:389 during error reporting

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 20 08:22:00 GMT 2018


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


More information about the Gcc-bugs mailing list