sh.c (calc_live_regs): Declare reg as unsigned and modify the for loop expressions...
authorKaz Kojima <kkojima@gcc.gnu.org>
Sat, 30 Oct 2004 23:29:46 +0000 (23:29 +0000)
committerKaz Kojima <kkojima@gcc.gnu.org>
Sat, 30 Oct 2004 23:29:46 +0000 (23:29 +0000)
commit0ef2c525e56d98d88414604c8e234193868a9b92
treeb3ffe8ad1336287fa6c6fff2895f5c1244e109af
parent1db4252cead4efe2f13d88a8420a687acd5abe62
sh.c (calc_live_regs): Declare reg as unsigned and modify the for loop expressions for it.

* config/sh/sh.c (calc_live_regs): Declare reg as unsigned and
modify the for loop expressions for it.  Remove unnecessary casts.
(sh_expand_prologue): Declare reg as unsigned.
(sh_gimplify_va_arg_expr): Initinalize lab_over.
(sh_handle_sp_switch_attribute): Add const qualifier appropriately.

From-SVN: r89901
gcc/ChangeLog
gcc/config/sh/sh.c