regmove.c (fixup_match_1): Consistently evaluate HAVE_POST_INCREMENT and HAVE_POST_DECREMENT.

* regmove.c (fixup_match_1): Consistently evaluate
        HAVE_POST_INCREMENT and HAVE_POST_DECREMENT.

From-SVN: r26159
This commit is contained in:
Toshiyasu Morita 1999-04-03 15:27:53 +00:00 committed by Jeff Law
parent e154a394de
commit 1ed9faeecb
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,8 @@
Sat Apr 3 16:22:59 1999 Toshiyasu Morita (tm@netcom.com)
* regmove.c (fixup_match_1): Consistently evaluate
HAVE_POST_INCREMENT and HAVE_POST_DECREMENT.
Sat Apr 3 19:21:05 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
* configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER): Use grep

View File

@ -1890,12 +1890,11 @@ fixup_match_1 (insn, set, src, src_subreg, dst, backward, operand_number,
rtx pat = PATTERN (insn);
if (src_note)
remove_note (overlap, src_note);
#if defined (HAVE_POST_INCREMENT) || defined (HAVE_POST_DECREMENT)
if (code == PLUS
if ((HAVE_POST_INCREMENT || HAVE_POST_DECREMENT)
&& code == PLUS
&& try_auto_increment (overlap, insn, 0, src, insn_const, 0))
insn = overlap;
else
#endif
{
rtx notes = REG_NOTES (insn);