------- Comment #3 from jvdelisle at gcc dot gnu dot org 2008-02-08 21:40 ------- How does this look :) I have a couple of other test prints in there.
$ gfc pr35132.f90 $ ./a.out 1st: 123456 2nd: abcdef 123456 ASDFef At line 26 of file pr35132.f90 (unit = 20, file = 'foo.txt') Fortran runtime error: End of file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35132