aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/alias.c7
2 files changed, 0 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e3820fd..b19212a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/alias.c b/gcc/alias.c
index e26e13c..eb4cb42 100644
--- a/gcc/alias.c
+++ b/gcc/alias.c
@@ -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)