[Bug c++/82070] [8 Regression] inaccessible within this context in lambda rejects valid

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 6 19:37:00 GMT 2017


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

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Sep  6 19:36:48 2017
New Revision: 251819

URL: https://gcc.gnu.org/viewcvs?rev=251819&root=gcc&view=rev
Log:
        PR c++/82070 - error with nested lambda capture

        * pt.c (tsubst_expr) [DECL_EXPR]: Register capture proxies with
        register_local_specialization.

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


More information about the Gcc-bugs mailing list