diff options
author | Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | 1998-02-02 10:23:22 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-02-02 03:23:22 -0700 |
commit | 1a56b81fe618e68d80a0653a4f2cba7555a40ac8 (patch) | |
tree | 5b439927c487328ad378cc2640e0d5c672a99bfd /gcc | |
parent | e4b3de45ac2f87ba74cf6b84006f0cf483abb95b (diff) | |
download | gcc-1a56b81fe618e68d80a0653a4f2cba7555a40ac8.zip gcc-1a56b81fe618e68d80a0653a4f2cba7555a40ac8.tar.gz gcc-1a56b81fe618e68d80a0653a4f2cba7555a40ac8.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/regmove.c | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9df9684..b16b450 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +1998-01-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * 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 535647f..e129ca9 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)) |