diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2df336ddadf..4abebe36285 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Fri Apr 2 17:49:44 1999 Toshiyasu Morita + + * regmove.c (fixup_match_1): Remove now useless if (0). + Sat Apr 3 11:37:20 1999 Michael Hayes * tm.texi (USE_LOAD_POST_DECREMENT, USE_LOAD_PRE_DECREMENT, diff --git a/gcc/regmove.c b/gcc/regmove.c index 658f9d40239..9ae709dfad3 100644 --- a/gcc/regmove.c +++ b/gcc/regmove.c @@ -1978,11 +1978,7 @@ fixup_match_1 (insn, set, src, src_subreg, dst, backward, operand_number, } } - /* Don't remove this seemingly useless if, it is needed to pair with the - else in the next two conditionally included code blocks. */ - if (0) - {;} - else if ((HAVE_PRE_INCREMENT || HAVE_PRE_DECREMENT) + if ((HAVE_PRE_INCREMENT || HAVE_PRE_DECREMENT) && (code == PLUS || code == MINUS) && insn_const && try_auto_increment (p, insn, 0, src, insn_const, 1)) insn = p;