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

2015-06-22 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65843

Jason Merrill  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
   Target Milestone|--- |5.2

--- Comment #5 from Jason Merrill  ---
Fixed for 5.2.


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

2015-06-19 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65843

--- Comment #4 from Jason Merrill  ---
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


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

2015-06-19 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65843

--- Comment #3 from Jason Merrill  ---
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


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

2015-06-19 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65843

Jason Merrill  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 CC||jason at gcc dot gnu.org
   Assignee|unassigned at gcc dot gnu.org  |jason at gcc dot gnu.org


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

2015-06-02 Thread sebastien.alaiwan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65843

Sebastien Alaiwan  changed:

   What|Removed |Added

 CC||sebastien.alaiwan at gmail dot 
com

--- Comment #2 from Sebastien Alaiwan  ---
*** Bug 66374 has been marked as a duplicate of this bug. ***


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

2015-04-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65843

Jonathan Wakely  changed:

   What|Removed |Added

 CC||myoga.murase at gmail dot com

--- Comment #1 from Jonathan Wakely  ---
*** Bug 65885 has been marked as a duplicate of this bug. ***


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

2015-04-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65843

Jonathan Wakely  changed:

   What|Removed |Added

   Keywords||rejects-valid
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2015-04-22
  Known to work||4.9.2
Summary|multiple use of const   |[5/6 Regression] multiple
   |variable in lamba in|use of const variable in
   |template function causes|lamba in template function
   |compile error   |causes compile error
 Ever confirmed|0   |1
   Severity|major   |normal