Commit 43196589 by Andreas Schwab Committed by Andreas Schwab

combine.c (force_to_mode): Add cast to fix warning when STORE_FLAG_VALUE is negative.

	* combine.c (force_to_mode): Add cast to fix warning when
	STORE_FLAG_VALUE is negative.

From-SVN: r61961
parent d52c5b0a
2003-01-28 Andreas Schwab <schwab@suse.de>
* combine.c (force_to_mode): Add cast to fix warning when
STORE_FLAG_VALUE is negative.
2003-01-27 Richard Henderson <rth@redhat.com> 2003-01-27 Richard Henderson <rth@redhat.com>
* Makefile.in (cse.o): Depend on TARGET_H. * Makefile.in (cse.o): Depend on TARGET_H.
......
...@@ -7310,7 +7310,8 @@ force_to_mode (x, mode, mask, reg, just_select) ...@@ -7310,7 +7310,8 @@ force_to_mode (x, mode, mask, reg, just_select)
which is equal to STORE_FLAG_VALUE. */ which is equal to STORE_FLAG_VALUE. */
if ((mask & ~STORE_FLAG_VALUE) == 0 && XEXP (x, 1) == const0_rtx if ((mask & ~STORE_FLAG_VALUE) == 0 && XEXP (x, 1) == const0_rtx
&& exact_log2 (nonzero_bits (XEXP (x, 0), mode)) >= 0 && exact_log2 (nonzero_bits (XEXP (x, 0), mode)) >= 0
&& nonzero_bits (XEXP (x, 0), mode) == STORE_FLAG_VALUE) && (nonzero_bits (XEXP (x, 0), mode)
== (unsigned HOST_WIDE_INT) STORE_FLAG_VALUE))
return force_to_mode (XEXP (x, 0), mode, mask, reg, next_select); return force_to_mode (XEXP (x, 0), mode, mask, reg, next_select);
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