summaryrefslogtreecommitdiff
path: root/gcc/cgraph.h
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2014-05-19 01:01:12 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2014-05-19 01:01:12 +0000
commit04f65f928651b7ffef6841f001c276169bd67e67 (patch)
treeba76d5a126b19a9883d7c963376b2cffd9f0d6a1 /gcc/cgraph.h
parentcf8b23bb59e3fdc56a7c4023419d7f7d2902a085 (diff)
downloadgcc-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.h1
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);