From 3e882897a0c9f42144b0c549f6330051c00fd43e Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Wed, 24 Jan 2001 16:43:11 -0500 Subject: [PATCH] Fix obvious bug in previous commit From-SVN: r39248 --- gcc/simplify-rtx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) -- 2.30.2