Commit 88ac60d3 by Jan Hubicka Committed by Jan Hubicka

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

From-SVN: r199835
parent 4cdce1a8
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> 2013-06-07 David Malcolm <dmalcolm@redhat.com>
* tree-object-size.c (unknown): Make const. * tree-object-size.c (unknown): Make const.
......
...@@ -978,8 +978,6 @@ symtab_resolve_alias (symtab_node node, symtab_node target) ...@@ -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 We do not want to keep it around or we would have to mind updating them
when renaming symbols. */ when renaming symbols. */
node->symbol.alias_target = NULL; 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) if (node->symbol.cpp_implicit_alias && cgraph_state >= CGRAPH_STATE_CONSTRUCTION)
fixup_same_cpp_alias_visibility (node, target); fixup_same_cpp_alias_visibility (node, target);
......
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