diff options
author | aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-22 16:51:47 +0000 |
---|---|---|
committer | aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-22 16:51:47 +0000 |
commit | 3a1756e74cdc0d68188b3d4c22b8de3fef0f5b4c (patch) | |
tree | 6998ef9d4adb5b1005c00640ca6516a25f9e1071 /gcc | |
parent | 558334b3a6b03a949653e641774aa9c45c712fd0 (diff) | |
download | gcc-3a1756e74cdc0d68188b3d4c22b8de3fef0f5b4c.tar.gz |
2001-10-09 Andrew Haley <aph@redhat.com>
* calls.c (check_sibcall_argument_overlap): Use slot_offset for
start of stack slot.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47276 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/calls.c | 4 |
2 files changed, 7 insertions, 2 deletions
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 <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 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++) |