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
This commit is contained in:
parent
0a2550e705
commit
7fea98d8cf
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
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.
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user