* 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
+2002-06-28 Stephen Clarke <stephen.clarke@superh.com>
+
+ * 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.
+
2002-06-28 Stephane Carrez <stcarrez@nerim.fr>
* config/m68hc11/m68hc11.md ("*addsi3"): Use 'o' constraint to
#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,