From 60f4621c9af2e74db77e26265c0e0d87431e66fc Mon Sep 17 00:00:00 2001 From: Andrew Haley Date: Thu, 22 Nov 2001 16:51:47 +0000 Subject: calls.c (check_sibcall_argument_overlap): Use slot_offset for start of stack slot. 2001-10-09 Andrew Haley * calls.c (check_sibcall_argument_overlap): Use slot_offset for start of stack slot. From-SVN: r47276 --- gcc/calls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/calls.c') diff --git a/gcc/calls.c b/gcc/calls.c index 8b3b969..f4637bc 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++) -- cgit v1.1