aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/calls.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 29a4b9c..6d72ac5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-09 Andrew Haley <aph@redhat.com>
+
+ * calls.c (check_sibcall_argument_overlap): Use slot_offset for
+ start of stack slot.
+
2001-11-22 Graham Stott <grahams@redhat.com>
* cfgrtl.c (try_redirect_by_replacing_jump): Fix typo, emit
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++)