Bad giv initial offset calculation

Richard Henderson rth@redhat.com
Fri Jul 20 16:06:00 GMT 2001


On Fri, Jul 20, 2001 at 02:21:10PM -0500, Clinton Popetz wrote:
> int
> test ()
> {
>   int biv,giv;
>   for (biv = 0, giv = 0; giv != 8; biv++)
>       giv = biv*8;
>   return giv;
> }

Would you modify this appropriately and add this as an execute test?

> 	* unroll.c (loop_iterations): Fix miscalculation of initial
> 	giv offset.

Ok.


r~



More information about the Gcc-patches mailing list