diff options
Diffstat (limited to 'gcc/ipa.c')
-rw-r--r-- | gcc/ipa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa.c b/gcc/ipa.c index 7e8a82cc432..370032b84e7 100644 --- a/gcc/ipa.c +++ b/gcc/ipa.c @@ -968,10 +968,10 @@ function_and_variable_visibility (bool whole_program) && !vnode->symbol.weakref) { gcc_assert (in_lto_p || whole_program || !TREE_PUBLIC (vnode->symbol.decl)); - symtab_make_decl_local (vnode->symbol.decl); vnode->symbol.unique_name = ((vnode->symbol.resolution == LDPR_PREVAILING_DEF_IRONLY || vnode->symbol.resolution == LDPR_PREVAILING_DEF_IRONLY_EXP) && TREE_PUBLIC (vnode->symbol.decl)); + symtab_make_decl_local (vnode->symbol.decl); if (vnode->symbol.same_comdat_group) symtab_dissolve_same_comdat_group_list ((symtab_node) vnode); vnode->symbol.resolution = LDPR_PREVAILING_DEF_IRONLY; |