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++/65843] [5/6 Regression] multiple use of const variable in lamba in template function causes compile error


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

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

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

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


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