summaryrefslogtreecommitdiff
path: root/gcc/regmove.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-02-02 10:23:22 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-02-02 10:23:22 +0000
commitef3ec561e87220cb20a4d10c0062e5bc068a530f (patch)
tree5b439927c487328ad378cc2640e0d5c672a99bfd /gcc/regmove.c
parentd6759ef76eb179ae70948396b03b9b81d09e70e8 (diff)
downloadgcc-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
Diffstat (limited to 'gcc/regmove.c')
-rw-r--r--gcc/regmove.c6
1 files changed, 5 insertions, 1 deletions
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))