From 40d055518b63b3ff0a883f9a32533ad72f491baa Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sun, 27 Jun 1993 21:15:50 -0400 Subject: [PATCH] (fixup_stack_1): Handle current_function_internal_arg_pointer. From-SVN: r4777 --- gcc/function.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gcc/function.c b/gcc/function.c index f9d851713f4..04f54b8a460 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -1772,8 +1772,9 @@ fixup_stack_1 (x, insn) (displacement is too large), compute the sum in a register. */ if (GET_CODE (ad) == PLUS && GET_CODE (XEXP (ad, 0)) == REG - && REGNO (XEXP (ad, 0)) >= FIRST_VIRTUAL_REGISTER - && REGNO (XEXP (ad, 0)) <= LAST_VIRTUAL_REGISTER + && ((REGNO (XEXP (ad, 0)) >= FIRST_VIRTUAL_REGISTER + && REGNO (XEXP (ad, 0)) <= LAST_VIRTUAL_REGISTER) + || XEXP (ad, 0) == current_function_internal_arg_pointer) && GET_CODE (XEXP (ad, 1)) == CONST_INT) { rtx temp, seq;