Reason is likely the "use integer" inside loop. Removing it indeed fixes
this bug and makes loop behave as documented.
--
The choice of a
-----==- _GNU_
----==-- _ generation Marc Lehmann
---==---(_)__ __ ____ __ p...@goof.com
--==---/ / _ \/ // /\ \/ / http://schmorp.de/
-=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE
BTW, is this bug (and the others I have reported) ever going to be fixed? At
least this one seems simple enough to not warrant a patch.