diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2004-05-01 09:36:55 +0000 |
---|---|---|
committer | Paolo Bonzini <bonzini@gcc.gnu.org> | 2004-05-01 09:36:55 +0000 |
commit | 77306e3e64b98c52415f407f0451d15e429a2a30 (patch) | |
tree | a9f7ef4139a86b3819cd18ae3782f6420e5e917e /gcc/simplify-rtx.c | |
parent | 3bf05748728b93e0241a62bb0926ec12a58f01f6 (diff) | |
download | gcc-77306e3e64b98c52415f407f0451d15e429a2a30.tar.gz |
simplify-rtx.c (simplify_ternary_operation): When converting an IF_THEN_ELSE to a relational op, return correct mode.
2004-05-01 Paolo Bonzini <bonzini@gnu.org>
* simplify-rtx.c (simplify_ternary_operation): When
converting an IF_THEN_ELSE to a relational op, return
correct mode.
From-SVN: r81383
Diffstat (limited to 'gcc/simplify-rtx.c')
-rw-r--r-- | gcc/simplify-rtx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c index 5895bb90686..74377b64eb6 100644 --- a/gcc/simplify-rtx.c +++ b/gcc/simplify-rtx.c @@ -3123,7 +3123,7 @@ simplify_ternary_operation (enum rtx_code code, enum machine_mode mode, else break; - return simplify_gen_relational (code, op0_mode, cmp_mode, + return simplify_gen_relational (code, mode, cmp_mode, XEXP (op0, 0), XEXP (op0, 1)); } |