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

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Fri Aug  2 13:29:05 2019
New Revision: 274010

URL: https://gcc.gnu.org/viewcvs?rev=274010&root=gcc&view=rev
Log:
        PR c++/91230 - wrong error with __PRETTY_FUNCTION__ and generic lambda.
        * pt.c (value_dependent_expression_p): Consider __PRETTY_FUNCTION__
        inside a template function value-dependent.

        * g++.dg/cpp1y/lambda-generic-pretty1.C: New test.

Added:
    branches/gcc-9-branch/gcc/testsuite/g++.dg/cpp1y/lambda-generic-pretty1.C
Modified:
    branches/gcc-9-branch/gcc/cp/ChangeLog
    branches/gcc-9-branch/gcc/cp/pt.c

Reply via email to