re PR c++/55015 (Lambda functions not found at link time when declared in an inline...
authorJason Merrill <jason@redhat.com>
Thu, 6 Dec 2012 14:37:13 +0000 (09:37 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 6 Dec 2012 14:37:13 +0000 (09:37 -0500)
commit7d9fe08e135b8242e61c87b183c31b7fbb33dc28
treeb486c957cc35b0ab2a736727700908949d41fd62
parent5442fe4818ecb877fccbba726ded41f1de3583c6
re PR c++/55015 (Lambda functions not found at link time when declared in an inline function)

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.

From-SVN: r194251
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/semantics.c
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-conv6.C [new file with mode: 0644]