[Bug c++/84925] [8 Regression] ICE with segfault in __PRETTY_FUNCTION__

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 19 20:35:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84925

--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Mon Mar 19 20:34:45 2018
New Revision: 258660

URL: https://gcc.gnu.org/viewcvs?rev=258660&root=gcc&view=rev
Log:
        PR c++/84925
        * pt.c (enclosing_instantiation_of): Check if fn is null.

        * g++.dg/cpp1z/lambda-__func__.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1z/lambda-__func__.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list