Fix obvious bug in previous commit
authorDJ Delorie <dj@gcc.gnu.org>
Wed, 24 Jan 2001 21:43:11 +0000 (16:43 -0500)
committerDJ Delorie <dj@gcc.gnu.org>
Wed, 24 Jan 2001 21:43:11 +0000 (16:43 -0500)
From-SVN: r39248

gcc/simplify-rtx.c

index 82bb8e40024bc9c075581e2bf112329bd6676ffd..6ae44b237a03f528ce85d73d9102b34bdad9e1ba 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)