From: Jim Wilson Date: Sat, 19 Nov 1994 23:37:10 +0000 (-0800) Subject: (expand_shift): Re-enable truncation of immediate shift count. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=03f3609810ce73d30c5ace972765dffc2f33124e;p=gcc.git (expand_shift): Re-enable truncation of immediate shift count. From-SVN: r8527 --- diff --git a/gcc/expmed.c b/gcc/expmed.c index 4db9d058611..3802eec1391 100644 --- a/gcc/expmed.c +++ b/gcc/expmed.c @@ -1653,7 +1653,7 @@ expand_shift (code, mode, shifted, amount, target, unsignedp) op1 = expand_expr (amount, NULL_RTX, VOIDmode, 0); -#if 0 && SHIFT_COUNT_TRUNCATED +#if SHIFT_COUNT_TRUNCATED if (SHIFT_COUNT_TRUNCATED && GET_CODE (op1) == CONST_INT && (unsigned HOST_WIDE_INT) INTVAL (op1) >= GET_MODE_BITSIZE (mode))