diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 29a4b9cce92..6d72ac5ce0f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-10-09 Andrew Haley + + * calls.c (check_sibcall_argument_overlap): Use slot_offset for + start of stack slot. + 2001-11-22 Graham Stott * cfgrtl.c (try_redirect_by_replacing_jump): Fix typo, emit diff --git a/gcc/calls.c b/gcc/calls.c index 8b3b969acbe..f4637bc1242 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -2035,9 +2035,9 @@ check_sibcall_argument_overlap (insn, arg) break; #ifdef ARGS_GROW_DOWNWARD - low = -arg->offset.constant - arg->size.constant; + low = -arg->slot_offset.constant - arg->size.constant; #else - low = arg->offset.constant; + low = arg->slot_offset.constant; #endif for (high = low + arg->size.constant; low < high; low++)