[Bug testsuite/40459] g++.dg/abi/mangle*.C fail on darwin

howarth at nitro dot med dot uc dot edu gcc-bugzilla@gcc.gnu.org
Sun Sep 27 03:43:00 GMT 2009



------- Comment #3 from howarth at nitro dot med dot uc dot edu  2009-09-27 03:43 -------
The logical candidate for these failures is...
Author: espindola
Date: Mon Jun 15 14:25:50 2009
New Revision: 148492

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148492
Log:
2009-06-15  Rafael Avila de Espindola  <espindola@google.com>

        * cgraphunit.c (cgraph_function_versioning,save_inline_function_body):
        Use DECL_COMDAT_GROUP instead of DECL_ONE_ONLY.
        * cgraph.c (cgraph_create_virtual_clone): Use DECL_COMDAT_GROUP.
        * config/i386/i386.c (ix86_file_end): Compute DECL_COMDAT_GROUP.
        * dwarf2asm.c(dw2_force_const_mem): Update call to make_decl_one_only.
        * langhooks-def.h (lhd_comdat_group, LANG_HOOKS_COMDAT_GROUP): Remove.
        (LANG_HOOKS_DECLS): Remove LANG_HOOKS_COMDAT_GROUP.
        * langhooks.c (lhd_comdat_group): Remove.
        * langhooks.h (lang_hooks_for_decls): Remove comdat_group.
        * tree.h (DECL_COMDAT_GROUP): New.
        (DECL_ONE_ONLY): Use DECL_COMDAT_GROUP.
        (tree_decl_with_vis): Add comdat_group. Remove one_only.
        (make_decl_one_only): Change signature.
        * varasm.c (get_emutls_init_templ_addr, emutls_decl): Update call to
        make_decl_one_only.
        (make_decl_one_only): Change signature.
        (default_elf_asm_named_section): Use DECL_COMDAT_GROUP.

2009-06-15  Rafael Avila de Espindola  <espindola@google.com>

        * cp-objcp-common.h (LANG_HOOKS_COMDAT_GROUP): Remove.
        * cp-tree.h (cxx_comdat_group): Change signature.
        * decl.c (duplicate_decls): Use DECL_COMDAT_GROUP.
        (cxx_comdat_group): Change signature.
        * decl2.c (comdat_linkage, maybe_make_one_only): Update call to
        make_decl_one_only.
        (constrain_visibility, get_guard): Use DECL_COMDAT_GROUP.
        * method.c (use_thunk): Update call to make_decl_one_only.
        * optimize.c (maybe_clone_body): Use DECL_COMDAT_GROUP

2009-06-15  Rafael Avila de Espindola  <espindola@google.com>

        * g++.dg/abi/mangle11.C: Update warning line.
        * g++.dg/abi/mangle12.C: Update warning line.
        * g++.dg/abi/mangle17.C: Update warning line.
        * g++.dg/abi/mangle20-2.C: Update warning line.


-- 


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



More information about the Gcc-bugs mailing list