From 41e0f05c2d37f5cfd010b0bb5c8121cc770404a5 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Tue, 7 Aug 2001 10:53:57 -0400 Subject: [PATCH] revert get_alias_set change for now From-SVN: r44692 --- gcc/ChangeLog | 3 --- gcc/alias.c | 7 ------- 2 files changed, 10 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e3820fd8579..b19212a296c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -25,9 +25,6 @@ Tue Aug 7 14:56:16 CEST 2001 Jan Hubicka * 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 * varasm.c (assemble_gc_entry): Remove. diff --git a/gcc/alias.c b/gcc/alias.c index e26e13c2c97..eb4cb42dbf7 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)