aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDJ Delorie <dj@gcc.gnu.org>2001-01-24 16:43:11 -0500
committerDJ Delorie <dj@gcc.gnu.org>2001-01-24 16:43:11 -0500
commit3e882897a0c9f42144b0c549f6330051c00fd43e (patch)
tree0c7f14c63d52de05d52ceea922afe751ed67761d /gcc
parent1cac878554696003a686e97187dac03147c1b3a0 (diff)
downloadgcc-3e882897a0c9f42144b0c549f6330051c00fd43e.zip
gcc-3e882897a0c9f42144b0c549f6330051c00fd43e.tar.gz
gcc-3e882897a0c9f42144b0c549f6330051c00fd43e.tar.bz2
Fix obvious bug in previous commit
From-SVN: r39248
Diffstat (limited to 'gcc')
-rw-r--r--gcc/simplify-rtx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c
index 82bb8e4..6ae44b2 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)