
9 Apr
2008
9 Apr
'08
5:29 p.m.
On Wednesday 09 April 2008, Wolfgang Denk wrote:
In message 1207722800-3978-6-git-send-email-vapier@gentoo.org 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