OSDN Git Service

revert get_alias_set change for now
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Aug 2001 14:53:57 +0000 (14:53 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Aug 2001 14:53:57 +0000 (14:53 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44692 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/alias.c

index e3820fd..b19212a 100644 (file)
@@ -25,9 +25,6 @@ Tue Aug  7 14:56:16 CEST 2001  Jan Hubicka  <jh@suse.cz>
 
        * c-semantics.c (make_rtl_for_local_static): Use DECL_RTL_SET_P.
 
-       * alias.c (get_alias_set): Return a previously calculated
-       alias set for a VAR_DECL.
-
 2001-08-06  Richard Henderson  <rth@redhat.com>
 
        * varasm.c (assemble_gc_entry): Remove.
index e26e13c..eb4cb42 100644 (file)
@@ -527,13 +527,6 @@ get_alias_set (t)
            return 0;
        }
 
-      /* If we've already determined the alias set for this decl, just
-        return it.  This is necessary for C++ anonymous unions, whose
-        component variables don't look like union members (boo!).  */
-      if (TREE_CODE (t) == VAR_DECL
-         && DECL_RTL_SET_P (t) && GET_CODE (DECL_RTL (t)) == MEM)
-       return MEM_ALIAS_SET (DECL_RTL (t));
-
       /* Give the language another chance to do something special.  */
       if (orig_t != t
          && (set = lang_get_alias_set (t)) != -1)