symtab.c (symtab_node::reset_section): New method.
authorJan Hubicka <hubicka@ucw.cz>
Thu, 12 Jun 2014 22:23:55 +0000 (00:23 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 12 Jun 2014 22:23:55 +0000 (22:23 +0000)
commit24e49ea0b11e0ccfb2c18b7d79c5cb46f36f8db8
tree614d47109aba7fe36bcb27ee602307278455a372
parent6ad386b725dfac340e0d337d4c20e603929c7f9a
symtab.c (symtab_node::reset_section): New method.

* symtab.c (symtab_node::reset_section): New method.
* cgraph.c (cgraph_node_cannot_be_local_p_1): Accept non-local
for localization.
* cgraph.h (reset_section): Declare.
* ipa-inline-analysis.c (do_estimate_growth): Check for comdat groups;
do not consider comdat locals.
* cgraphclones.c (set_new_clone_decl_and_node_flags): Get section
for new symbol.
* ipa-visiblity.c (cgraph_externally_visible_p): Cleanup.
(update_visibility_by_resolution_info): Consider UNDEF; fix checking;
reset sections of symbols dragged out of the comdats.
(function_and_variable_visibility): Reset sections of localized symbols.

From-SVN: r211600
gcc/ChangeLog
gcc/cgraph.c
gcc/cgraph.h
gcc/cgraphclones.c
gcc/ipa-inline-analysis.c
gcc/ipa-visibility.c
gcc/symtab.c