[Bug c++/55015] [4.7/4.8 Regression] Lambda functions not found at link time when declared in an inline function
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 6 14:40:00 GMT 2012
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
More information about the Gcc-bugs
mailing list