From: Rainer Orth Date: Mon, 30 Jun 2003 12:00:16 +0000 (+0000) Subject: * cfgrtl.c (mark_killed_regs): Cast HARD_REGNO_NREGS to int. X-Git-Tag: releases/gcc-3.4.0~5325 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=73383a81050eea6b6114e7d742a601f73a5e00ee;p=thirdparty%2Fgcc.git * cfgrtl.c (mark_killed_regs): Cast HARD_REGNO_NREGS to int. From-SVN: r68697 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e16edeff75e6..b557a3640dcb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-06-30 Rainer Orth + + * cfgrtl.c (mark_killed_regs): Cast HARD_REGNO_NREGS to int. + 2003-06-30 Rainer Orth * c-pch.c (c_common_write_pch): Flush asm_out_file to allow for diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c index f1dedde0c03b..39a53e2751cb 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); } }