* symtab.c (symtab_resolve_alias): Do not remove alias attribute.

From-SVN: r199835
This commit is contained in:
Jan Hubicka 2013-06-07 21:57:55 +02:00 committed by Jan Hubicka
parent 4cdce1a870
commit 88ac60d35f
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2013-06-07 Jan Hubicka <jh@suse.cz>
* symtab.c (symtab_resolve_alias): Do not remove alias attribute.
2013-06-07 David Malcolm <dmalcolm@redhat.com>
* tree-object-size.c (unknown): Make const.

View File

@ -978,8 +978,6 @@ symtab_resolve_alias (symtab_node node, symtab_node target)
We do not want to keep it around or we would have to mind updating them
when renaming symbols. */
node->symbol.alias_target = NULL;
DECL_ATTRIBUTES (node->symbol.decl)
= remove_attribute ("alias", DECL_ATTRIBUTES (node->symbol.decl));
if (node->symbol.cpp_implicit_alias && cgraph_state >= CGRAPH_STATE_CONSTRUCTION)
fixup_same_cpp_alias_visibility (node, target);