diff options
author | Jan Hubicka <jh@suse.cz> | 2013-08-22 15:56:01 +0000 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2013-08-22 15:56:01 +0000 |
commit | 7bf4274ea7e77984c576c691aa5c855086280930 (patch) | |
tree | 4feaebb39db7ffb6afc56c0849e25071a852772e /gcc/ipa.c | |
parent | 1bea243d3270859064723ac47172343ce95ed88a (diff) | |
download | gcc-7bf4274ea7e77984c576c691aa5c855086280930.zip gcc-7bf4274ea7e77984c576c691aa5c855086280930.tar.gz gcc-7bf4274ea7e77984c576c691aa5c855086280930.tar.bz2 |
ipa.c (function_and_variable_visibility): First remember function was global and then make it local.
* ipa.c (function_and_variable_visibility): First remember function was global
and then make it local.
From-SVN: r201924
Diffstat (limited to 'gcc/ipa.c')
-rw-r--r-- | gcc/ipa.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |