2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-04-25 07:10:33 +08:00

* function.c (gen_mem_addressof): Don't call get_alias_set if no decl.

From-SVN: r45030
This commit is contained in:
Richard Henderson 2001-08-19 02:04:31 -07:00 committed by Richard Henderson
parent c45632b732
commit c49f511c7e
2 changed files with 5 additions and 1 deletions

@ -1,3 +1,7 @@
2001-08-19 Richard Henderson <rth@redhat.com>
* function.c (gen_mem_addressof): Don't call get_alias_set if no decl.
2001-08-19 Richard Henderson <rth@redhat.com>
* config/ia64/ia64.h (STRIP_NAME_ENCODING): Handle @ and *

@ -2863,7 +2863,7 @@ gen_mem_addressof (reg, decl)
REGNO (reg), decl);
/* Calculate this before we start messing with decl's RTL. */
HOST_WIDE_INT set = get_alias_set (decl);
HOST_WIDE_INT set = decl ? get_alias_set (decl) : 0;
/* If the original REG was a user-variable, then so is the REG whose
address is being taken. Likewise for unchanging. */