* ipa-inline.c (can_inline_edge_p) Use merged_comdat.
authorJan Hubicka <hubicka@ucw.cz>
Fri, 4 Dec 2015 18:02:26 +0000 (19:02 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 4 Dec 2015 18:02:26 +0000 (18:02 +0000)
commit88636b62bc7fae0ef7eaac6a22e5cd8107e69be8
tree1f9f6f9c155b3d1c4819fc258a6fabfc90f13049
parentc5404f1c2fc79761392acf49af2c46079d907756
* ipa-inline.c (can_inline_edge_p) Use merged_comdat.

* cgraphclones.c (cgraph_node::create_clone): Use merged_comdat.
* cgraph.c (cgraph_node::dump): Dump merged_comdat.
* ipa-icf.c (sem_function::merge): Drop merged_comdat when merging
comdat and non-comdat.
* cgraph.h (cgraph_node): Rename merged to merged_comdat.
* ipa-inline-analysis.c (simple_edge_hints): Check both merged_comdat
and icf_merged.

* lto-symtab.c (lto_cgraph_replace_node): Update code computing
merged_comdat.

From-SVN: r231291
gcc/ChangeLog
gcc/cgraph.c
gcc/cgraph.h
gcc/cgraphclones.c
gcc/ipa-icf.c
gcc/ipa-inline-analysis.c
gcc/ipa-inline.c
gcc/lto/ChangeLog
gcc/lto/lto-symtab.c