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


On Thu, Oct 28, 2004 at 07:17:29PM +0900, Kaz Kojima wrote:
> -  for (count = 0, reg = FIRST_PSEUDO_REGISTER - 1; reg >= 0; reg--)
> +  for (count = 0, reg = FIRST_PSEUDO_REGISTER - 1; reg != 0; reg--)

Invalid transformation.  You now miss iterating with 0.



r~


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