From 2731427487e1c2945e99db30e4f95baec8f8631f Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Sat, 23 Aug 1997 04:39:31 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 2 ++ gcc/alias.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 28d7add8e5f..a65ad39acd0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ Fri Aug 22 14:05:55 1997 Jim Wilson + * 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 diff --git a/gcc/alias.c b/gcc/alias.c index 225d254b515..661ba1ea4b2 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; -- 2.30.2