From: DJ Delorie Date: Wed, 24 Jan 2001 21:43:11 +0000 (-0500) Subject: Fix obvious bug in previous commit X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3e882897a0c9f42144b0c549f6330051c00fd43e;p=gcc.git Fix obvious bug in previous commit From-SVN: r39248 --- diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c index 82bb8e40024..6ae44b237a0 100644 --- a/gcc/simplify-rtx.c +++ b/gcc/simplify-rtx.c @@ -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)