Commit 24948ccc by Bernd Schmidt Committed by Bernd Schmidt

Don't try to make autoincs with the stack pointer

From-SVN: r36370
parent a210651e
2000-09-12 Bernd Schmidt <bernds@redhat.co.uk>
* flow.c (try_pre_increment_1): Don't do anything to sets of the stack
pointer.
2000-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* builtins.c (built_in_decls): New array.
......
......@@ -5699,6 +5699,7 @@ try_pre_increment_1 (pbi, insn)
int regno = REGNO (SET_DEST (x));
rtx y = pbi->reg_next_use[regno];
if (y != 0
&& SET_DEST (x) != stack_pointer_rtx
&& BLOCK_NUM (y) == BLOCK_NUM (insn)
/* Don't do this if the reg dies, or gets set in y; a standard addressing
mode would be better. */
......
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