https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53808

--- Comment #16 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Sep 10 14:27:40 2014
New Revision: 215131

URL: https://gcc.gnu.org/viewcvs?rev=215131&root=gcc&view=rev
Log:
    PR lto/53808
    PR c++/61659
    * decl2.c (note_comdat_fn): New.
    (set_comdat): New.
    (cp_write_global_declarations): Call set_comdat.
    * method.c (implicitly_declare_fn): Call note_comdat_fn.
    * pt.c (tsubst_decl) [FUNCTION_DECL]: Likewise.
    * decl2.c (mark_needed): Mark clones.
    (import_export_decl): Not here.

Added:
    branches/gcc-4_9-branch/gcc/testsuite/g++.dg/abi/no-weak1.C
    branches/gcc-4_9-branch/gcc/testsuite/g++.dg/abi/spec1.C
    branches/gcc-4_9-branch/gcc/testsuite/g++.dg/opt/devirt5.C
    branches/gcc-4_9-branch/gcc/testsuite/g++.dg/template/friend56.C
    branches/gcc-4_9-branch/gcc/testsuite/g++.dg/template/spec38.C
Modified:
    branches/gcc-4_9-branch/gcc/cp/ChangeLog
    branches/gcc-4_9-branch/gcc/cp/cp-tree.h
    branches/gcc-4_9-branch/gcc/cp/decl2.c
    branches/gcc-4_9-branch/gcc/cp/method.c
    branches/gcc-4_9-branch/gcc/cp/pt.c
    branches/gcc-4_9-branch/gcc/testsuite/g++.dg/opt/devirt4.C

Reply via email to