Fix minor alias typo found while working on H.J. Lu's alpha-linux alias bug.
authorJim Wilson <wilson@cygnus.com>
Wed, 3 Sep 1997 17:42:21 +0000 (17:42 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Wed, 3 Sep 1997 17:42:21 +0000 (10:42 -0700)
* alias.c (true_dependence): Test x for BLKmode, in addition to mem.

From-SVN: r15061

gcc/ChangeLog
gcc/alias.c

index 22b78c6ded62c19b819e50dbe2e866c397c4b5fc..190eb48546f88d64b678724d292585a0986118e8 100644 (file)
@@ -1,3 +1,7 @@
+Wed Sep  3 10:39:42 1997  Jim Wilson  <wilson@cygnus.com>
+
+       * alias.c (true_dependence): Test x for BLKmode, in addition to mem.
+
 Wed Sep  3 09:28:50 CDT 1997  Joel Sherrill (joel@OARcorp.com)
 
        * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h, m68k/rtems.h,
index 661ba1ea4b26b23fa4db58969442fc1f7b5b1bdb..cb3a917c8dacf93cf2c8ccbfd92f4efd4e4c1157 100644 (file)
@@ -815,7 +815,7 @@ true_dependence (mem, mem_mode, x, varies)
      about aliasing.  */
   if (MEM_IN_STRUCT_P (x) == MEM_IN_STRUCT_P (mem)
       || mem_mode == QImode || mem_mode == BLKmode
-      || GET_MODE (x) == QImode || GET_MODE (mem) == BLKmode
+      || GET_MODE (x) == QImode || GET_MODE (x) == BLKmode
       || varies (x_addr) == varies (mem_addr))
     return 1;