alias.c (rtx_equal_for_memref_p): Handle SCRATCH as a memory address.
authorJeffrey A Law <law@cygnus.com>
Thu, 21 May 1998 22:12:04 +0000 (22:12 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 21 May 1998 22:12:04 +0000 (16:12 -0600)
        * alias.c (rtx_equal_for_memref_p): Handle SCRATCH as a memory
        address.

From-SVN: r19936

gcc/ChangeLog
gcc/alias.c

index eef746446f2b7558a58a9f05bb4472947d5c7aeb..75ae74869db09ceef5e301351e80c6a155ee74c5 100644 (file)
@@ -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  <loewis@informatik.hu-berlin.de>
 
        * Makefile.in (TREE_H): Add tree-check.h.
index 445e2732e9ff2f0d15cc3cc04faf20b85e4b9fbf..4e55cd4fe2dd5b23e97cec8ea6ad758dc1661acd 100644 (file)
@@ -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.  */