[Bug c++/70735] [5/6/7 Regression] problem combining std::function, generic lambdas and static variables

2016-06-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70735 Richard Biener changed: What|Removed |Added Target Milestone|5.4 |5.5 --- Comment #16 from Richard Biener

[Bug c++/70735] [5/6/7 Regression] problem combining std::function, generic lambdas and static variables

2016-06-01 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70735 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment #

[Bug c++/70735] [5/6/7 Regression] problem combining std::function, generic lambdas and static variables

2016-05-31 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70735 --- Comment #14 from Jason Merrill --- Author: jason Date: Tue May 31 21:36:16 2016 New Revision: 236950 URL: https://gcc.gnu.org/viewcvs?rev=236950&root=gcc&view=rev Log: PR c++/70735 - generic lambda and local static variable

[Bug c++/70735] [5/6/7 Regression] problem combining std::function, generic lambdas and static variables

2016-05-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70735 --- Comment #13 from Jason Merrill --- Author: jason Date: Mon May 23 21:21:18 2016 New Revision: 236615 URL: https://gcc.gnu.org/viewcvs?rev=236615&root=gcc&view=rev Log: PR c++/70735 - generic lambda and local static variable

[Bug c++/70735] [5/6/7 Regression] problem combining std::function, generic lambdas and static variables

2016-05-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70735 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/70735] [5/6/7 Regression] problem combining std::function, generic lambdas and static variables

2016-05-21 Thread m-ou...@m-ou.se
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70735 Maurice changed: What|Removed |Added CC||m-ou...@m-ou.se --- Comment #12 from Maurice

[Bug c++/70735] [5/6/7 Regression] problem combining std::function, generic lambdas and static variables

2016-05-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70735 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug c++/70735] [5/6/7 Regression] problem combining std::function, generic lambdas and static variables

2016-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70735 --- Comment #11 from Jonathan Wakely --- The local static variable seems to be captured by copy at the point when the closure's call operator is instantiated, so it captures the current value of the variable. extern "C" int printf(const char*, .

[Bug c++/70735] [5/6/7 Regression] problem combining std::function, generic lambdas and static variables

2016-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70735 --- Comment #10 from Jonathan Wakely --- (In reply to Allan McRae from comment #6) > gcc 5.3.1 built from a snapshot tarball is calling itself 5.3.0 unless you > use "--with-pkgversion". I do not consider this a problem with Arch if gcc > does n

[Bug c++/70735] [5/6/7 Regression] problem combining std::function, generic lambdas and static variables

2016-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70735 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|NEW Component|libstdc++

[Bug c++/70735] [5/6/7 Regression] problem combining std::function, generic lambdas and static variables

2016-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70735 --- Comment #7 from Jonathan Wakely --- (In reply to Allan McRae from comment #6) > (In reply to Jonathan Wakely from comment #5) > > (In reply to Jonathan Wakely from comment #4) > > > > This shows that Arch is using a snapshot from the gcc-5-b

[Bug c++/70735] [5/6/7 Regression] problem combining std::function, generic lambdas and static variables

2016-04-20 Thread allan at archlinux dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70735 --- Comment #6 from Allan McRae --- (In reply to Jonathan Wakely from comment #5) > (In reply to Jonathan Wakely from comment #4) > > This shows that Arch is using a snapshot from the gcc-5-branch on 20160209, > > which means it's 5.3.1, but the

[Bug c++/70735] [5/6/7 Regression] problem combining std::function, generic lambdas and static variables

2016-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70735 Jonathan Wakely changed: What|Removed |Added CC||allan at archlinux dot org --- Comment

[Bug c++/70735] [5/6/7 Regression] problem combining std::function, generic lambdas and static variables

2016-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70735 --- Comment #4 from Jonathan Wakely --- (In reply to Paolo Monteverde from comment #2) > Sorry, on Ubuntu the version is actually 5.3.1, but on Arch is 5.3.0, as far > as I can see. Unfortunately you are being misled by Arch lying. > gcc -v on

[Bug c++/70735] [5/6/7 Regression] problem combining std::function, generic lambdas and static variables

2016-04-20 Thread paolo.monteverde at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70735 --- Comment #3 from Paolo Monteverde --- Created attachment 38315 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38315&action=edit preprocessed file

[Bug c++/70735] [5/6/7 Regression] problem combining std::function, generic lambdas and static variables

2016-04-20 Thread paolo.monteverde at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70735 --- Comment #2 from Paolo Monteverde --- (In reply to Jonathan Wakely from comment #1) > I can reproduce this with 5.3.1 and later, but not 5.3.0 > > As requested at https://gcc.gnu.org/bugs/ please provide the output of 'gcc > -v', on both Debi

[Bug c++/70735] [5/6/7 Regression] problem combining std::function, generic lambdas and static variables

2016-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70735 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|