Commit 7fea98d8 by Jan Hubicka Committed by Jan Hubicka

ipa.c (function_and_variable_visibility): Also clear WEAK flag when disolving COMDAT_GROUP.



	* ipa.c (function_and_variable_visibility): Also clear WEAK
	flag when disolving COMDAT_GROUP.

From-SVN: r207878
parent 0a2550e7
2014-02-18 Jan Hubicka <hubicka@ucw.cz> 2014-02-18 Jan Hubicka <hubicka@ucw.cz>
* ipa.c (function_and_variable_visibility): Also clear WEAK
flag when disolving COMDAT_GROUP.
2014-02-18 Jan Hubicka <hubicka@ucw.cz>
* ipa-prop.h (ipa_ancestor_jf_data): Update ocmment. * ipa-prop.h (ipa_ancestor_jf_data): Update ocmment.
* ipa-prop.c (ipa_set_jf_known_type): Return early when * ipa-prop.c (ipa_set_jf_known_type): Return early when
not devirtualizing. not devirtualizing.
......
...@@ -1027,7 +1027,10 @@ function_and_variable_visibility (bool whole_program) ...@@ -1027,7 +1027,10 @@ function_and_variable_visibility (bool whole_program)
for (next = node->same_comdat_group; for (next = node->same_comdat_group;
next != node; next != node;
next = next->same_comdat_group) next = next->same_comdat_group)
{
DECL_COMDAT_GROUP (next->decl) = NULL; DECL_COMDAT_GROUP (next->decl) = NULL;
DECL_WEAK (next->decl) = false;
}
DECL_COMDAT_GROUP (node->decl) = NULL; DECL_COMDAT_GROUP (node->decl) = NULL;
symtab_dissolve_same_comdat_group_list (node); symtab_dissolve_same_comdat_group_list (node);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment