diff options
author | Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | 2003-06-30 12:00:16 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2003-06-30 12:00:16 +0000 |
commit | 73383a81050eea6b6114e7d742a601f73a5e00ee (patch) | |
tree | 0440cc6a942d65b6ab85e3eb8c20de85ede40a37 | |
parent | 2d583dcbac4e14f8f2e344d289cf21d2d61c8412 (diff) | |
download | gcc-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/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cfgrtl.c | 2 |
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); } } |