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]

Re: Bad giv initial offset calculation


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~


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