This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/55710] [C++11] Linkage errors with lambdas
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 15 Feb 2013 18:32:05 +0000
- Subject: [Bug c++/55710] [C++11] Linkage errors with lambdas
- Auto-submitted: auto-generated
- References: <bug-55710-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55710
--- Comment #11 from Jason Merrill <jason at gcc dot gnu.org> 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 (maybe_add_lambda_conv_op): Mark static thunk
TREE_USED.
Added:
branches/gcc-4_7-branch/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-conv7.C
Modified:
branches/gcc-4_7-branch/gcc/cp/ChangeLog
branches/gcc-4_7-branch/gcc/cp/semantics.c