* ipa.c (function_and_variable_visibility): Decompose DECL_ONE_ONLY
commit96a3dc392ed25a4ab3354b5925e06c65269b50d1
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 Feb 2014 23:26:36 +0000 (4 23:26 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 Feb 2014 23:26:36 +0000 (4 23:26 +0000)
treebbf5ad857d73a9614797d6f9dbe1e05f2d043715
parentbfd545187988187e969f0648d42d5568e4bbaac9
* ipa.c (function_and_variable_visibility): Decompose DECL_ONE_ONLY
groups when we know they are controlled by LTO.
* varasm.c (default_binds_local_p_1): If object is in other partition,
it will be resolved locally.

* lto-partition.c (get_symbol_class): Only unforced DECL_ONE_ONLY
needs duplicating, not generic COMDAT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207489 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ipa.c
gcc/lto/ChangeLog
gcc/lto/lto-partition.c
gcc/varasm.c