summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>2005-07-14 23:36:31 +0000
committerechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>2005-07-14 23:36:31 +0000
commit59d142eb8e568c760c374ec99b7dc22521c67cbc (patch)
tree0641333ff583669d23705e7356235fcf92729009 /gcc
parent8589256e1d429eb1566ca27d179ecb6b7c3919d9 (diff)
downloadgcc-59d142eb8e568c760c374ec99b7dc22521c67cbc.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102041 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mips/mips.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0480a22c927..c549b288208 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
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.
2005-07-14 Steven Bosscher <stevenb@suse.de>
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index 0dee266559d..c316ef1c30c 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)
{