diff options
Diffstat (limited to 'gcc')
-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; |