On Wednesday 09 April 2008, Wolfgang Denk wrote:
> In message <[EMAIL PROTECTED]> you wrote:
> ...
>
> > -   for (i = 0; i < 0x80000; i++) ;
> > +   for (i = 0; i < 0x80000; i++)
> > +           continue;
>
> We don't do this. If you want to make obvious that this is an empty
> loop, please write it ias
>
>       for (i = 0; i < 0x80000; i++)
>               ;
>
> But no "continue".
>
> > -   for (i = 0; i < 0x80000; i++) ;
> > +   for (i = 0; i < 0x80000; i++)
> > +           continue;
> >  }
>
> Ditto.

the generated code is the same.  the usage of "continue" makes it much more 
explicit that this is an empty loop.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
U-Boot-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to