mips.c (mips_canonicalize_comparison): Cast argument of trunc_int_for_mode to unsigned HOST_WIDE_INT.

2005-07-14  Eric Christopher  <echristo@redhat.com>

	* config/mips/mips.c (mips_canonicalize_comparison): Cast
	argument of trunc_int_for_mode to unsigned HOST_WIDE_INT.

From-SVN: r102041
This commit is contained in:
Eric Christopher 2005-07-14 23:36:31 +00:00 committed by Eric Christopher
parent b838c72bdc
commit 06277571f4
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-07-14 Eric Christopher <echristo@redhat.com>
* config/mips/mips.c (mips_canonicalize_comparison): Cast
argument of trunc_int_for_mode to unsigned HOST_WIDE_INT.
2005-07-14 Eric Christopher <echristo@redhat.com>
* config/s390/t-tpf (SHLIB_MAPFILES): Remove.

View File

@ -2895,7 +2895,7 @@ mips_canonicalize_comparison (enum rtx_code *code, rtx *cmp1,
return false;
original = INTVAL (*cmp1);
plus_one = trunc_int_for_mode (original + 1, mode);
plus_one = trunc_int_for_mode ((unsigned HOST_WIDE_INT) original + 1, mode);
switch (*code)
{