diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-02-02 10:23:22 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-02-02 10:23:22 +0000 |
commit | ef3ec561e87220cb20a4d10c0062e5bc068a530f (patch) | |
tree | 5b439927c487328ad378cc2640e0d5c672a99bfd | |
parent | d6759ef76eb179ae70948396b03b9b81d09e70e8 (diff) | |
download | gcc-ef3ec561e87220cb20a4d10c0062e5bc068a530f.tar.gz |
* regmove.c (fixup_match_1): Undo last change which removed some
"useless" code, and add a comment explaining this.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17595 138bc75d-0d04-0410-961f-82ee72b054a4
-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 9df9684cc20..b16b45025c0 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 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)) |