revert get_alias_set change for now

From-SVN: r44692
This commit is contained in:
Jason Merrill 2001-08-07 10:53:57 -04:00
parent 0830ae44cd
commit 41e0f05c2d
2 changed files with 0 additions and 10 deletions

View 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.

View 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)