Commit 86cdf393 by Bernd Schmidt Committed by Bernd Schmidt

rtlanal.c (nonzero_bits1): Don't compare GET_MODE_SIZE against a bitsize.

	* rtlanal.c (nonzero_bits1): Don't compare GET_MODE_SIZE against
	a bitsize.

From-SVN: r176039
parent 69660a70
...@@ -13,6 +13,9 @@ ...@@ -13,6 +13,9 @@
* convert.c (convert_to_integer): Likewise. * convert.c (convert_to_integer): Likewise.
* expmed.c (expand_shift_1): Likewise. * expmed.c (expand_shift_1): Likewise.
* rtlanal.c (nonzero_bits1): Don't compare GET_MODE_SIZE against
a bitsize.
2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* Makefile.in (LIBGCOV): Remove. * Makefile.in (LIBGCOV): Remove.
......
...@@ -3993,7 +3993,7 @@ nonzero_bits1 (const_rtx x, enum machine_mode mode, const_rtx known_x, ...@@ -3993,7 +3993,7 @@ nonzero_bits1 (const_rtx x, enum machine_mode mode, const_rtx known_x,
nonzero = 1; nonzero = 1;
#endif #endif
if (GET_MODE_SIZE (GET_MODE (x)) < mode_width) if (GET_MODE_PRECISION (GET_MODE (x)) < mode_width)
nonzero |= (GET_MODE_MASK (mode) & ~GET_MODE_MASK (GET_MODE (x))); nonzero |= (GET_MODE_MASK (mode) & ~GET_MODE_MASK (GET_MODE (x)));
break; break;
......
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