[Bug c++/65843] [5/6 Regression] multiple use of const variable in lamba in template function causes compile error

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jun 19 18:25:00 GMT 2015


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

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Jun 19 18:24:18 2015
New Revision: 224681

URL: https://gcc.gnu.org/viewcvs?rev=224681&root=gcc&view=rev
Log:
        PR c++/65843
        * pt.c (tsubst_copy_and_build): Register a capture proxy in
        local_specializations.

Added:
    branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-rep1.C
Modified:
    branches/gcc-5-branch/gcc/cp/ChangeLog
    branches/gcc-5-branch/gcc/cp/pt.c



More information about the Gcc-bugs mailing list