]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ipa.c
ipa.c (symtab_remove_unreachable_nodes): Remove symbol from comdat group if its body...
authorJan Hubicka <hubicka@ucw.cz>
Mon, 19 May 2014 01:01:12 +0000 (03:01 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 19 May 2014 01:01:12 +0000 (01:01 +0000)
commit7b3376a0da3e5de61c15899e4da1fc03ef7438d0
treeba76d5a126b19a9883d7c963376b2cffd9f0d6a1
parenta04d9035ec03996fd6f96a1ece21bc8d4c54cd40
ipa.c (symtab_remove_unreachable_nodes): Remove symbol from comdat group if its body was eliminated.

* ipa.c (symtab_remove_unreachable_nodes): Remove
symbol from comdat group if its body was eliminated.
(comdat_can_be_unshared_p_1): Static symbols can always
be privatized.
* symtab.c (symtab_remove_from_same_comdat_group): Break out
from ...
(symtab_unregister_node): ... this one.
(verify_symtab_base): More strict checking of comdats.
* cgraph.h (symtab_remove_from_same_comdat_group): Declare.

From-SVN: r210598
gcc/ChangeLog
gcc/cgraph.h
gcc/ipa.c
gcc/symtab.c