diff options
author | Stephen Clarke <stephen.clarke@superh.com> | 2002-06-28 21:34:47 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2002-06-28 15:34:47 -0600 |
commit | f1b1186f6c7287df5685e8ebf21d5d4ce73d5647 (patch) | |
tree | 91c83f3bf45bf43992232da9cc6897398d658a3a /gcc/combine.c | |
parent | ae9bd4817709200fb28acc6812def80de28f5a2a (diff) | |
download | gcc-f1b1186f6c7287df5685e8ebf21d5d4ce73d5647.zip gcc-f1b1186f6c7287df5685e8ebf21d5d4ce73d5647.tar.gz gcc-f1b1186f6c7287df5685e8ebf21d5d4ce73d5647.tar.bz2 |
combine.c (combine_simplify_rtx): Pass the mode of the shift count...
* combine.c (combine_simplify_rtx): Pass the mode of the
shift count, not the shift operation when trying to simplify
a shift on a SHIFT_COUNT_TRUNCATED target.
From-SVN: r55085
Diffstat (limited to 'gcc/combine.c')
-rw-r--r-- | gcc/combine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/combine.c b/gcc/combine.c index ea12b13..c94eddc 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -4583,7 +4583,7 @@ combine_simplify_rtx (x, op0_mode, last, in_dest) #ifdef SHIFT_COUNT_TRUNCATED else if (SHIFT_COUNT_TRUNCATED && GET_CODE (XEXP (x, 1)) != REG) SUBST (XEXP (x, 1), - force_to_mode (XEXP (x, 1), GET_MODE (x), + force_to_mode (XEXP (x, 1), GET_MODE (XEXP (x, 1)), ((HOST_WIDE_INT) 1 << exact_log2 (GET_MODE_BITSIZE (GET_MODE (x)))) - 1, |