OSDN Git Service

Fix obvious bug in previous commit
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Jan 2001 21:43:11 +0000 (21:43 +0000)
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Jan 2001 21:43:11 +0000 (21:43 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39248 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/simplify-rtx.c

index 82bb8e4..6ae44b2 100644 (file)
@@ -2057,11 +2057,11 @@ simplify_ternary_operation (code, mode, op0_mode, op0, op1, op2)
          enum machine_mode cmp_mode = (GET_MODE (XEXP (op0, 0)) == VOIDmode
                                        ? GET_MODE (XEXP (op0, 1))
                                        : GET_MODE (XEXP (op0, 0)));
+         rtx temp;
          if (cmp_mode == VOIDmode)
            cmp_mode = op0_mode;
-         rtx temp
-            = simplify_relational_operation (GET_CODE (op0), cmp_mode,
-                                             XEXP (op0, 0), XEXP (op0, 1));
+         temp = simplify_relational_operation (GET_CODE (op0), cmp_mode,
+                                               XEXP (op0, 0), XEXP (op0, 1));
 
          /* See if any simplifications were possible.  */
          if (temp == const0_rtx)