This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/53821] [4.7/4.8 regression][c++11] multiple definitions of lambda


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53821

--- Comment #11 from Jason Merrill <jason at gcc dot gnu.org> 2012-12-06 14:39:58 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]