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

Richard Henderson rth@redhat.com
Thu Oct 28 16:44:00 GMT 2004


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~



More information about the Gcc-patches mailing list