--- Comment #2 from falk at debian dot org 2006-07-20 14:53 ---
However, gcc chould actually warn about while loops with an empty body where
the exit condition has no side effects. This might be slightly difficult,
though.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28446
--- Comment #1 from schwab at suse dot de 2006-07-20 13:41 ---
This is a perfectly valid program. `while(i < 10);' is a statement of its own,
independent of the preceding loop.
--
schwab at suse dot de changed:
What|Removed |Added
-