OSDN Git Service

* regmove.c (fixup_match_1): Undo last change which removed some
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 Feb 1998 10:23:22 +0000 (10:23 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 Feb 1998 10:23:22 +0000 (10:23 +0000)
        "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

gcc/ChangeLog
gcc/regmove.c

index 9df9684..b16b450 100644 (file)
@@ -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
index 535647f..e129ca9 100644 (file)
@@ -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))