[Bug c++/55710] [C++11] Linkage errors with lambdas

2013-02-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55710 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug c++/55710] [C++11] Linkage errors with lambdas

2013-02-15 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55710 --- Comment #11 from Jason Merrill 2013-02-15 18:32:05 UTC --- Author: jason Date: Fri Feb 15 18:31:52 2013 New Revision: 196086 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196086 Log: PR c++/55710 * semantics.c (ma

[Bug c++/55710] [C++11] Linkage errors with lambdas

2013-02-13 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55710 --- Comment #10 from Jason Merrill 2013-02-13 18:18:10 UTC --- Author: jason Date: Wed Feb 13 18:17:39 2013 New Revision: 196025 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196025 Log: PR c++/55710 * semantics.c (ma

[Bug c++/55710] [C++11] Linkage errors with lambdas

2013-02-13 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55710 --- Comment #9 from Jason Merrill 2013-02-13 18:15:42 UTC --- *** Bug 55720 has been marked as a duplicate of this bug. ***

[Bug c++/55710] [C++11] Linkage errors with lambdas

2012-12-19 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55710 --- Comment #8 from Paolo Carlini 2012-12-19 18:03:23 UTC --- Thanks Daniel for the new testcase in Comment #6. I'm afraid however we still don't have a regression, because the testcase compiles but doesn't link in 4.6.x too.

[Bug c++/55710] [C++11] Linkage errors with lambdas

2012-12-17 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55710 --- Comment #7 from Daniel Krügler 2012-12-17 13:54:20 UTC --- (In reply to comment #3) I have now much confidence that our production code (based on GCC 4.7.2) fails due to bug 55015. Fortunately there is a known workaround for that one. To ma

[Bug c++/55710] [C++11] Linkage errors with lambdas

2012-12-15 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55710 --- Comment #6 from Daniel Krügler 2012-12-15 19:55:56 UTC --- (In reply to comment #5) So will the following do that: // template struct X { static void (*code) (); }; template void (*X::code) () = []{}; // Line 7 int ma

[Bug c++/55710] [C++11] Linkage errors with lambdas

2012-12-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55710 --- Comment #5 from Paolo Carlini 2012-12-15 19:07:34 UTC --- To repeat: in order to, so to speak, raise the priority of this issue, we need a testcase which was accepted by 4.6.x (or 4.7.x): the testcase we have got isn't Ok for that, bec

[Bug c++/55710] [C++11] Linkage errors with lambdas

2012-12-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55710 --- Comment #4 from Paolo Carlini 2012-12-15 19:03:10 UTC --- Oops, 4.6.x says that NSDMIs are needed for line 10 and rejects it, that misled me. Then, what can I say, probably the issue isn't a regression and it's only superficially simil

[Bug c++/55710] [C++11] Linkage errors with lambdas

2012-12-15 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55710 --- Comment #3 from Daniel Krügler 2012-12-15 18:57:37 UTC --- (In reply to comment #2) Note that my first example is not related to NSDMIs, it occurs in a static data member initializer. The actual reason for understanding the possible reasons

[Bug c++/55710] [C++11] Linkage errors with lambdas

2012-12-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55710 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/55710] [C++11] Linkage errors with lambdas

2012-12-15 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55710 --- Comment #1 from Andrew Pinski 2012-12-15 18:29:33 UTC --- Related to PR 55015.