From: Jeffrey A Law Date: Thu, 21 May 1998 22:12:04 +0000 (+0000) Subject: alias.c (rtx_equal_for_memref_p): Handle SCRATCH as a memory address. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aee21ba9f74acc0be5fca05e6998e8038abe0f48;p=gcc.git alias.c (rtx_equal_for_memref_p): Handle SCRATCH as a memory address. * alias.c (rtx_equal_for_memref_p): Handle SCRATCH as a memory address. From-SVN: r19936 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index eef746446f2..75ae74869db 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Thu May 21 23:09:50 1998 Jeffrey A Law (law@cygnus.com) + + * alias.c (rtx_equal_for_memref_p): Handle SCRATCH as a memory + address. + Thu May 21 20:18:13 1998 Martin von Loewis * Makefile.in (TREE_H): Add tree-check.h. diff --git a/gcc/alias.c b/gcc/alias.c index 445e2732e9f..4e55cd4fe2d 100644 --- a/gcc/alias.c +++ b/gcc/alias.c @@ -467,6 +467,10 @@ rtx_equal_for_memref_p (x, y) return 0; break; + /* This can happen for an asm which clobbers memory. */ + case '0': + break; + /* It is believed that rtx's at this level will never contain anything but integers and other rtx's, except for within LABEL_REFs and SYMBOL_REFs. */