This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH/RFA] Avoid warnings in compiling config/sh/sh.c


Richard Henderson <rth@redhat.com> wrote:
> On Fri, Oct 29, 2004 at 07:32:49AM +0900, Kaz Kojima wrote:
> >   for (count = 0, reg = FIRST_PSEUDO_REGISTER - 1; reg + 1 != 0; reg--)
> 
> That or
> 
> 	for (reg = FIRST_PSEUDO_REGISTER; reg-- != 0; )

Looks easier to read.  I'll try it.

Regards,
	kaz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]