aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2003-06-30 12:00:16 +0000
committerRainer Orth <ro@gcc.gnu.org>2003-06-30 12:00:16 +0000
commit73383a81050eea6b6114e7d742a601f73a5e00ee (patch)
tree0440cc6a942d65b6ab85e3eb8c20de85ede40a37
parent2d583dcbac4e14f8f2e344d289cf21d2d61c8412 (diff)
downloadgcc-73383a81050eea6b6114e7d742a601f73a5e00ee.zip
gcc-73383a81050eea6b6114e7d742a601f73a5e00ee.tar.gz
gcc-73383a81050eea6b6114e7d742a601f73a5e00ee.tar.bz2
* cfgrtl.c (mark_killed_regs): Cast HARD_REGNO_NREGS to int.
From-SVN: r68697
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/cfgrtl.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e16edef..b557a36 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2003-06-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
+ * cfgrtl.c (mark_killed_regs): Cast HARD_REGNO_NREGS to int.
+
+2003-06-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
+
* c-pch.c (c_common_write_pch): Flush asm_out_file to allow for
subsequent writes.
diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c
index f1dedde..39a53e2 100644
--- a/gcc/cfgrtl.c
+++ b/gcc/cfgrtl.c
@@ -1324,7 +1324,7 @@ mark_killed_regs (rtx reg, rtx set ATTRIBUTE_UNUSED, void *data)
SET_REGNO_REG_SET (killed, regno);
else
{
- for (i = 0; i < HARD_REGNO_NREGS (regno, GET_MODE (reg)); i++)
+ for (i = 0; i < (int) HARD_REGNO_NREGS (regno, GET_MODE (reg)); i++)
SET_REGNO_REG_SET (killed, regno + i);
}
}