]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
alias.c (rtx_equal_for_memref_p): Allow strings as types in operands.
authorAndrew Haley <aph@cambridge.redhat.com>
Wed, 25 Jul 2001 14:38:29 +0000 (14:38 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Wed, 25 Jul 2001 14:38:29 +0000 (14:38 +0000)
2001-07-19  Andrew Haley  <aph@cambridge.redhat.com>

* alias.c (rtx_equal_for_memref_p): Allow strings as types in
operands.

From-SVN: r44356

gcc/ChangeLog
gcc/alias.c

index e617ed64faa9caaabe717e5e97e40a2e2a97b887..e7b5c89f0dccde3983de2bfff4cbb4cf4ad11afc 100644 (file)
@@ -1,3 +1,8 @@
+2001-07-19  Andrew Haley  <aph@cambridge.redhat.com>
+
+       * alias.c (rtx_equal_for_memref_p): Allow strings as types in
+       operands.
+
 Wed Jul 25 08:25:01 2001  Jeffrey A Law  (law@cygnus.com)
 
        * ssa-ccp.c (visit_expression): Handle CALL_INSNs that can
index 912be4819c2bc426295e0be55de655ea2602e4ef..599676d416693e0dfdca9fd180765c35fdbe30dd 100644 (file)
@@ -1103,6 +1103,12 @@ rtx_equal_for_memref_p (x, y)
            return 0;
          break;
 
+         /* This can happen for asm operands.  */
+       case 's':
+         if (strcmp (XSTR (x, i), XSTR (y, i)))
+           return 0;
+         break;
+
        /* This can happen for an asm which clobbers memory.  */
        case '0':
          break;