projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a210651
)
Don't try to make autoincs with the stack pointer
author
Bernd Schmidt
<bernds@redhat.co.uk>
Tue, 12 Sep 2000 17:54:19 +0000
(17:54 +0000)
committer
Bernd Schmidt
<crux@gcc.gnu.org>
Tue, 12 Sep 2000 17:54:19 +0000
(17:54 +0000)
From-SVN: r36370
gcc/ChangeLog
patch
|
blob
|
history
gcc/flow.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index dcf1028093cf599b815f03bb04e3171e42fafe60..d6e3caabe322292ad25088f71c212028fbcdd8f2 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-1,3
+1,8
@@
+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.
diff --git
a/gcc/flow.c
b/gcc/flow.c
index 12005d3b0fa2b57894e97abbe9e22054bb76e8a1..900e028499106a563536af41aa20c759599e5244 100644
(file)
--- a/
gcc/flow.c
+++ b/
gcc/flow.c
@@
-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. */