aboutsummaryrefslogtreecommitdiff
path: root/gcc/alias.c
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>2001-08-07 10:53:57 -0400
committerJason Merrill <jason@gcc.gnu.org>2001-08-07 10:53:57 -0400
commit41e0f05c2d37f5cfd010b0bb5c8121cc770404a5 (patch)
tree1b5a3885fd7513984ad9f9aa896b239c6362eeff /gcc/alias.c
parent0830ae44cd7f243964cf767561525e0ba194676f (diff)
downloadgcc-41e0f05c2d37f5cfd010b0bb5c8121cc770404a5.zip
gcc-41e0f05c2d37f5cfd010b0bb5c8121cc770404a5.tar.gz
gcc-41e0f05c2d37f5cfd010b0bb5c8121cc770404a5.tar.bz2
revert get_alias_set change for now
From-SVN: r44692
Diffstat (limited to 'gcc/alias.c')
-rw-r--r--gcc/alias.c7
1 files changed, 0 insertions, 7 deletions
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)