]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* symtab.c (symtab_resolve_alias): Do not remove alias attribute.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Jun 2013 19:57:55 +0000 (19:57 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Jun 2013 19:57:55 +0000 (19:57 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199835 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/symtab.c

index ccee5f4a562460ae3413eb2e895ed09b07b7aaf6..4a149b827c4c9130cd64941ffd6b8ecdbb7926a5 100644 (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.
index f0355412e06cc8aeb2a573de2a6e43dafec911af..28ee6f0e0a1c3c878f0c33bf4729c45901661e13 100644 (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);