This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]