(subst, shift and rotate cases): Test value of SHIFT_COUNT_TRUNCATED

if it is defined.

From-SVN: r5730
This commit is contained in:
Richard Kenner 1993-10-11 07:38:22 -04:00
parent 1ebecb64eb
commit 5541136b1b

View File

@ -4674,7 +4674,7 @@ subst (x, from, to, in_dest, unique_copy)
}
#ifdef SHIFT_COUNT_TRUNCATED
else if (GET_CODE (XEXP (x, 1)) != REG)
else if (SHIFT_COUNT_TRUNCATED && GET_CODE (XEXP (x, 1)) != REG)
SUBST (XEXP (x, 1),
force_to_mode (XEXP (x, 1), GET_MODE (x),
((HOST_WIDE_INT) 1