diff options
author | Richard Henderson <rth@redhat.com> | 2000-10-28 22:41:44 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2000-10-28 22:41:44 -0700 |
commit | ce73761f15fce4c1e116ca3975db3443ac5013ef (patch) | |
tree | bad41af96deb3bd6dbfff17257cb8ebc7be57132 | |
parent | 3a73757880cde4912de947d746e2fea7a4bbd0e8 (diff) | |
download | gcc-ce73761f15fce4c1e116ca3975db3443ac5013ef.zip gcc-ce73761f15fce4c1e116ca3975db3443ac5013ef.tar.gz gcc-ce73761f15fce4c1e116ca3975db3443ac5013ef.tar.bz2 |
regrename.c (scan_rtx_address): Frob action, not class, when trying to disable optimization.
* regrename.c (scan_rtx_address): Frob action, not class,
when trying to disable optimization.
From-SVN: r37117
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/regrename.c | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 876b667..9472fa0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-10-28 Richard Henderson <rth@redhat.com> + + * regrename.c (scan_rtx_address): Frob action, not class, + when trying to disable optimization. + 2000-10-28 Mark Mitchell <mark@codesourcery.com> * c-semantics.c (make_rtl_for_local_static): Don't clobber diff --git a/gcc/regrename.c b/gcc/regrename.c index ffe6d42..5078585 100644 --- a/gcc/regrename.c +++ b/gcc/regrename.c @@ -475,7 +475,9 @@ scan_rtx_address (insn, loc, class, action, mode) case PRE_DEC: case PRE_MODIFY: #ifndef AUTO_INC_DEC - class = NO_REGS; + /* If the target doesn't claim to handle autoinc, this must be + something special, like a stack push. Kill this chain. */ + action = terminate_all_read; #endif break; |