* ipa.c (symtab_remove_unreachable_nodes): Remove
commit04f65f928651b7ffef6841f001c276169bd67e67
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 May 2014 01:01:12 +0000 (19 01:01 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 May 2014 01:01:12 +0000 (19 01:01 +0000)
treeba76d5a126b19a9883d7c963376b2cffd9f0d6a1
parentcf8b23bb59e3fdc56a7c4023419d7f7d2902a085
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210598 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cgraph.h
gcc/ipa.c
gcc/symtab.c