From: Andreas Schwab Date: Mon, 2 Feb 1998 10:23:22 +0000 (+0000) Subject: regmove.c (fixup_match_1): Undo last change which removed some "useless" code... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1a56b81fe618e68d80a0653a4f2cba7555a40ac8;p=gcc.git regmove.c (fixup_match_1): Undo last change which removed some "useless" code... * regmove.c (fixup_match_1): Undo last change which removed some "useless" code, and add a comment explaining this. From-SVN: r17595 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9df9684cc20..b16b45025c0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +1998-01-30 Andreas Schwab + + * regmove.c (fixup_match_1): Undo last change which removed some + "useless" code, and add a comment explaining this. + Mon Feb 2 10:47:14 1998 Gavin Koch (gavin@cygnus.com) * mips.c (mips_expand_prologue): Change uses of TARGET_64BIT diff --git a/gcc/regmove.c b/gcc/regmove.c index 535647f9583..e129ca90f9d 100644 --- a/gcc/regmove.c +++ b/gcc/regmove.c @@ -1216,7 +1216,11 @@ 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) + {;} #if defined (HAVE_PRE_INCREMENT) || defined (HAVE_PRE_DECREMENT) else if ((code == PLUS || code == MINUS) && insn_const && try_auto_increment (p, insn, 0, src, insn_const, 1))