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++/47049] [C++0x] ICE in write_unnamed_type_name with lambda use


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

--- Comment #13 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-28 00:53:53 UTC ---
Author: jason
Date: Sat May 28 00:53:49 2011
New Revision: 174375

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174375
Log:
    PR c++/47049
    * semantics.c (maybe_add_lambda_conv_op): Fix COMDAT sharing.
    * decl.c (start_preparsed_function): Don't call comdat_linkage for
    a template.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-template2.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog


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