------- Comment #4 from jvdelisle at gcc dot gnu dot org 2007-03-19 05:49 ------- Found it. In the case of advance="no" we are not saving the maximum position reached to be used by the following write statement. This one is subtle.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31199