* combine.c (simplify_shift_const): Bound shift count when
combining shifts.
From-SVN: r35739
+2000-08-15 Richard Henderson <rth@cygnus.com>
+
+ * combine.c (simplify_shift_const): Bound shift count when
+ combining shifts.
+
Tue Aug 15 17:33:05 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* calls.c (ECF_SP_DEPRESSED): New macro.
break;
count += first_count;
+ if (count >= GET_MODE_BITSIZE (shift_mode))
+ count = GET_MODE_BITSIZE (shift_mode) - 1;
varop = XEXP (varop, 0);
continue;
}
else
count = signed_count;
+ if (count >= GET_MODE_BITSIZE (shift_mode))
+ count = GET_MODE_BITSIZE (shift_mode) - 1;
+
varop = XEXP (varop, 0);
continue;
}