Commit 5d64361b by Stephane Carrez Committed by Richard Henderson

regmove.c (combine_stack_adjustments_for_block): Check that the stack pointer is…

regmove.c (combine_stack_adjustments_for_block): Check that the stack pointer is a valid memory address.

        * regmove.c (combine_stack_adjustments_for_block): Check that
        the stack pointer is a valid memory address.

From-SVN: r32691
parent 124906f9
2000-03-21 Stephane Carrez <stcarrez@worldnet.fr>
* regmove.c (combine_stack_adjustments_for_block): Check that
the stack pointer is a valid memory address.
Wed Mar 22 11:44:50 MET 2000 Jan Hubicka <jh@suse.cz>
* calls.c: re-install Mar 16 emit_library_call merge.
......
......@@ -2361,6 +2361,7 @@ combine_stack_adjustments_for_block (bb)
&& GET_CODE (XEXP (dest, 0)) == PRE_DEC
&& XEXP (XEXP (dest, 0), 0) == stack_pointer_rtx
&& ! reg_mentioned_p (stack_pointer_rtx, src)
&& memory_address_p (GET_MODE (dest), stack_pointer_rtx)
&& validate_change (insn, &SET_DEST (set),
change_address (dest, VOIDmode,
stack_pointer_rtx), 0))
......
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