diff options
author | dj <dj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-24 21:43:11 +0000 |
---|---|---|
committer | dj <dj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-24 21:43:11 +0000 |
commit | b65645187ce83ba1be28d349e861b3e85fbc8f55 (patch) | |
tree | 0c7f14c63d52de05d52ceea922afe751ed67761d /gcc/simplify-rtx.c | |
parent | ec68004d244c64080b8531785cc2dd6e671c84b6 (diff) | |
download | gcc-b65645187ce83ba1be28d349e861b3e85fbc8f55.tar.gz |
Fix obvious bug in previous commit
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39248 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/simplify-rtx.c')
-rw-r--r-- | gcc/simplify-rtx.c | 6 |
1 files 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) |