aboutsummaryrefslogtreecommitdiff
path: root/gcc/alias.c
diff options
context:
space:
mode:
authorJim Wilson <wilson@cygnus.com>1997-08-23 04:39:31 +0000
committerJim Wilson <wilson@gcc.gnu.org>1997-08-22 21:39:31 -0700
commit2731427487e1c2945e99db30e4f95baec8f8631f (patch)
tree5b17c2ef444a699e13b004f780b3d04931f931be /gcc/alias.c
parent19372aa11298a67c864d067ae2ab6534204b83cb (diff)
downloadgcc-2731427487e1c2945e99db30e4f95baec8f8631f.zip
gcc-2731427487e1c2945e99db30e4f95baec8f8631f.tar.gz
gcc-2731427487e1c2945e99db30e4f95baec8f8631f.tar.bz2
Fix m68k-next-nextstep3 stage2 enquire compilation hang reported by Moene.
* alias.c (true_dependence): Pass x_addr not x to varies. From-SVN: r14898
Diffstat (limited to 'gcc/alias.c')
-rw-r--r--gcc/alias.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/alias.c b/gcc/alias.c
index 225d254..661ba1e 100644
--- a/gcc/alias.c
+++ b/gcc/alias.c
@@ -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;