This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r143208 - in /branches/lto/gcc: ChangeLog.lto c...
- From: espindola at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 09 Jan 2009 16:22:11 -0000
- Subject: r143208 - in /branches/lto/gcc: ChangeLog.lto c...
Author: espindola
Date: Fri Jan 9 16:22:10 2009
New Revision: 143208
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143208
Log:
2009-01-09 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.
* 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): Change signature.
(LANG_HOOKS_COMDAT_GROUP): Remove.
(LANG_HOOKS_DECLS): Remove LANG_HOOKS_COMDAT_GROUP.
* langhooks.c (lhd_comdat_group): Change signature.
* langhooks.h (lang_hooks_for_decls): Remove comdat_group.
* lto-function-in.c (input_function_decl,input_var_decl): Read
comdat_group.
* lto-function-out.c (output_function_decl, output_var_decl): Write
comdat_group.
* lto-section-out.c (write_symbol_vec): Use DECL_COMDAT_GROUP.
* lto-tree-flags.def (FUNCTION_DECL): Remove one_only.
* 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-01-09 Rafael Avila de Espindola <espindola@google.com>
* 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.
* mangle.c (finish_mangling_internal): Add FIXME.
* method.c (use_thunk): Update call to make_decl_one_only.
* optimize.c (maybe_clone_body): Use DECL_COMDAT_GROUP.
Modified:
branches/lto/gcc/ChangeLog.lto
branches/lto/gcc/cgraphunit.c
branches/lto/gcc/config/i386/i386.c
branches/lto/gcc/cp/ChangeLog.lto
branches/lto/gcc/cp/cp-tree.h
branches/lto/gcc/cp/decl.c
branches/lto/gcc/cp/decl2.c
branches/lto/gcc/cp/mangle.c
branches/lto/gcc/cp/method.c
branches/lto/gcc/cp/optimize.c
branches/lto/gcc/dwarf2asm.c
branches/lto/gcc/langhooks-def.h
branches/lto/gcc/langhooks.c
branches/lto/gcc/langhooks.h
branches/lto/gcc/lto-function-in.c
branches/lto/gcc/lto-function-out.c
branches/lto/gcc/lto-section-out.c
branches/lto/gcc/lto-tree-flags.def
branches/lto/gcc/tree.h
branches/lto/gcc/varasm.c