diff options
author | Eric Christopher <echristo@redhat.com> | 2005-07-14 23:36:31 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gcc.gnu.org> | 2005-07-14 23:36:31 +0000 |
commit | 06277571f475f065d79e7d7b107200b2eb970580 (patch) | |
tree | 0641333ff583669d23705e7356235fcf92729009 /gcc/config/mips | |
parent | b838c72bdc9b62b79f5de915efd5e6fa70f8fb0c (diff) | |
download | gcc-06277571f475f065d79e7d7b107200b2eb970580.zip gcc-06277571f475f065d79e7d7b107200b2eb970580.tar.gz gcc-06277571f475f065d79e7d7b107200b2eb970580.tar.bz2 |
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
Diffstat (limited to 'gcc/config/mips')
-rw-r--r-- | gcc/config/mips/mips.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 0dee266..c316ef1 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -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) { |