Fix m68k-next-nextstep3 stage2 enquire compilation hang reported by Moene.
authorJim Wilson <wilson@cygnus.com>
Sat, 23 Aug 1997 04:39:31 +0000 (04:39 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Sat, 23 Aug 1997 04:39:31 +0000 (21:39 -0700)
* alias.c (true_dependence): Pass x_addr not x to varies.

From-SVN: r14898

gcc/ChangeLog
gcc/alias.c

index 28d7add8e5f994dedd8d19401141ed8cd17f9dd2..a65ad39acd0d7c648615e9587342c1054c1b14da 100644 (file)
@@ -1,5 +1,7 @@
 Fri Aug 22 14:05:55 1997  Jim Wilson  <wilson@cygnus.com>
 
+       * alias.c (true_dependence): Pass x_addr not x to varies.
+
        * acconfig.h (NEED_DECLARATION_CALLOC): Add.
        * configure.in: Add GCC_NEED_DECLARATION call for calloc.
        * rs6000/xm-rs6000.h (malloc, realloc, calloc, free): Delete
index 225d254b515a2a536655e6aca4e7cb5d47700051..661ba1ea4b26b23fa4db58969442fc1f7b5b1bdb 100644 (file)
@@ -825,7 +825,7 @@ true_dependence (mem, mem_mode, x, varies)
      If either memory reference is a variable structure the other is a
      fixed scalar and there is no aliasing.  */
   if ((MEM_IN_STRUCT_P (mem) && varies (mem_addr))
-      || (MEM_IN_STRUCT_P (x) && varies (x)))
+      || (MEM_IN_STRUCT_P (x) && varies (x_addr)))
     return 0;
 
   return 1;