[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:16:00 GMT 2015
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
More information about the Gcc-bugs
mailing list