aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1994-11-19 15:37:10 -0800
committerJim Wilson <wilson@gcc.gnu.org>1994-11-19 15:37:10 -0800
commit03f3609810ce73d30c5ace972765dffc2f33124e (patch)
tree69ca17f5aeb5678833fdaa74843fb5267199cd19
parent794385023b7a690dfd29611f4f515a709ea69ec8 (diff)
downloadgcc-03f3609810ce73d30c5ace972765dffc2f33124e.zip
gcc-03f3609810ce73d30c5ace972765dffc2f33124e.tar.gz
gcc-03f3609810ce73d30c5ace972765dffc2f33124e.tar.bz2
(expand_shift): Re-enable truncation of immediate shift count.
From-SVN: r8527
-rw-r--r--gcc/expmed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/expmed.c b/gcc/expmed.c
index 4db9d05..3802eec 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))