diff options
-rw-r--r-- | gcc/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/alias.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 28d7add..a65ad39 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 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; |