summaryrefslogtreecommitdiff
path: root/gcc/calls.c
diff options
context:
space:
mode:
authorAndrew Haley <aph@redhat.com>2001-11-22 16:51:47 +0000
committerAndrew Haley <aph@gcc.gnu.org>2001-11-22 16:51:47 +0000
commit60f4621c9af2e74db77e26265c0e0d87431e66fc (patch)
tree6998ef9d4adb5b1005c00640ca6516a25f9e1071 /gcc/calls.c
parent57a1142a15b29bc7400c1c64bf16bc43fe72c8f2 (diff)
downloadgcc-60f4621c9af2e74db77e26265c0e0d87431e66fc.tar.gz
calls.c (check_sibcall_argument_overlap): Use slot_offset for start of stack slot.
2001-10-09 Andrew Haley <aph@redhat.com> * calls.c (check_sibcall_argument_overlap): Use slot_offset for start of stack slot. From-SVN: r47276
Diffstat (limited to 'gcc/calls.c')
-rw-r--r--gcc/calls.c4
1 files changed, 2 insertions, 2 deletions
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++)