diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-05-19 01:01:12 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-05-19 01:01:12 +0000 |
commit | 04f65f928651b7ffef6841f001c276169bd67e67 (patch) | |
tree | ba76d5a126b19a9883d7c963376b2cffd9f0d6a1 /gcc/cgraph.h | |
parent | cf8b23bb59e3fdc56a7c4023419d7f7d2902a085 (diff) | |
download | gcc-04f65f928651b7ffef6841f001c276169bd67e67.tar.gz |
* 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
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r-- | gcc/cgraph.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h index 8f13ecbe11c..9dc6f0186f1 100644 --- a/gcc/cgraph.h +++ b/gcc/cgraph.h @@ -725,6 +725,7 @@ enum symbol_partitioning_class /* In symtab.c */ void symtab_register_node (symtab_node *); void symtab_unregister_node (symtab_node *); +void symtab_remove_from_same_comdat_group (symtab_node *); void symtab_remove_node (symtab_node *); symtab_node *symtab_get_node (const_tree); symtab_node *symtab_node_for_asm (const_tree asmname); |