This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/55015] [4.7/4.8 Regression] Lambda functions not found at link time when declared in an inline function
- 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: Thu, 06 Dec 2012 14:39:57 +0000
- Subject: [Bug c++/55015] [4.7/4.8 Regression] Lambda functions not found at link time when declared in an inline function
- Auto-submitted: auto-generated
- References: <bug-55015-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55015
--- Comment #12 from Jason Merrill <jason at gcc dot gnu.org> 2012-12-06 14:39:57 UTC ---
Author: jason
Date: Thu Dec 6 14:39:52 2012
New Revision: 194253
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194253
Log:
PR c++/55015
PR c++/53821
* semantics.c (maybe_add_lambda_conv_op): Revert earlier change.
* decl.c (start_preparsed_function): Make local class methods comdat
in templates, too.
Added:
branches/gcc-4_7-branch/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-conv6.C
Modified:
branches/gcc-4_7-branch/gcc/cp/ChangeLog
branches/gcc-4_7-branch/gcc/cp/decl.c
branches/gcc-4_7-branch/gcc/cp/semantics.c