[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

[Bug c++/66374] [5/6 Regression] template function accessing a temporary through a lambda

2015-06-02 Thread sebastien.alaiwan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66374 Sebastien Alaiwan changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/66374] New: template function accessing a temporary through a lambda

2015-06-01 Thread sebastien.alaiwan at gmail dot com
Severity: major Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: sebastien.alaiwan at gmail dot com Target Milestone: --- The following C++ snippet used to compile, but doesn't anymore with current gcc