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
This commit is contained in:
Andrew Haley 2001-11-22 16:51:47 +00:00 committed by Andrew Haley
parent 57a1142a15
commit 60f4621c9a
2 changed files with 7 additions and 2 deletions

View file

@ -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

View file

@ -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++)