Commit 40d05551 by Richard Kenner

(fixup_stack_1): Handle current_function_internal_arg_pointer.

From-SVN: r4777
parent 5e9bec99
...@@ -1772,8 +1772,9 @@ fixup_stack_1 (x, insn) ...@@ -1772,8 +1772,9 @@ fixup_stack_1 (x, insn)
(displacement is too large), compute the sum in a register. */ (displacement is too large), compute the sum in a register. */
if (GET_CODE (ad) == PLUS if (GET_CODE (ad) == PLUS
&& GET_CODE (XEXP (ad, 0)) == REG && GET_CODE (XEXP (ad, 0)) == REG
&& REGNO (XEXP (ad, 0)) >= FIRST_VIRTUAL_REGISTER && ((REGNO (XEXP (ad, 0)) >= FIRST_VIRTUAL_REGISTER
&& REGNO (XEXP (ad, 0)) <= LAST_VIRTUAL_REGISTER && REGNO (XEXP (ad, 0)) <= LAST_VIRTUAL_REGISTER)
|| XEXP (ad, 0) == current_function_internal_arg_pointer)
&& GET_CODE (XEXP (ad, 1)) == CONST_INT) && GET_CODE (XEXP (ad, 1)) == CONST_INT)
{ {
rtx temp, seq; rtx temp, seq;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment