diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1994-02-25 09:00:07 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1994-02-25 09:00:07 -0500 |
commit | 00244e6b175f4f56620dafccc8a2b36414a98d24 (patch) | |
tree | 146bb0e278c0990fc362c686a868ddb36e3b409c /gcc | |
parent | 59e6092731b6cb014c40f735f7e2f0bb3d8cb74b (diff) | |
download | gcc-00244e6b175f4f56620dafccc8a2b36414a98d24.zip gcc-00244e6b175f4f56620dafccc8a2b36414a98d24.tar.gz gcc-00244e6b175f4f56620dafccc8a2b36414a98d24.tar.bz2 |
(if_then_else_cond): Fix typo in narrowing of a SUBREG.
From-SVN: r6624
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/combine.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/combine.c b/gcc/combine.c index 4317341..da6daa3 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -6238,11 +6238,10 @@ if_then_else_cond (x, ptrue, pfalse) && 0 != (cond0 = if_then_else_cond (SUBREG_REG (x), &true0, &false0))) { - enum machine_mode inner_mode = GET_MODE (SUBREG_REG (x)); - unsigned HOST_WIDE_INT mask = GET_MODE_MASK (inner_mode); + *ptrue = force_to_mode (true0, mode, GET_MODE_MASK (mode), NULL_RTX, 0); + *pfalse + = force_to_mode (false0, mode, GET_MODE_MASK (mode), NULL_RTX, 0); - *ptrue = force_to_mode (true0, inner_mode, mask, NULL_RTX, 0); - *pfalse = force_to_mode (false0, inner_mode, mask, NULL_RTX, 0); return cond0; } |