Commit 3c094e22 by Richard Henderson Committed by Richard Henderson

* combine.c (simplify_comparison): Use trunc_int_for_mode.

From-SVN: r34103
parent 81e73afa
2000-05-22 Richard Henderson <rth@cygnus.com>
* combine.c (simplify_comparison): Use trunc_int_for_mode.
2000-05-22 Richard Henderson <rth@cygnus.com>
* stor-layout.c (place_field): Change rli->size to rli->offset.
2000-05-22 Richard Henderson <rth@cygnus.com>
......@@ -10040,9 +10040,7 @@ simplify_comparison (code, pop0, pop1)
/* Get the constant we are comparing against and turn off all bits
not on in our mode. */
const_op = INTVAL (op1);
if (mode_width <= HOST_BITS_PER_WIDE_INT)
const_op &= mask;
const_op = trunc_int_for_mode (INTVAL (op1), mode);
/* If we are comparing against a constant power of two and the value
being compared can only have that single bit nonzero (e.g., it was
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment