------- Additional Comments From Thomas dot Koenig at online dot de 2005-01-26 21:43 ------- There are two parts to this bug. The other is that eor is that end-of-line processing is broken. Here's a test case with the patch from comment #2 applied:
$ cat eor_2.f90 program main character*4 c open(12) write(12,'(A)') '123','456' rewind(12) read(12,'(A4)',advance='NO',eor=100) c call abort 100 continue end program main $ gfortran eor_2.f90 $ ./a.out Aborted -- What |Removed |Added ---------------------------------------------------------------------------- BugsThisDependsOn| |19568 Keywords|diagnostic |wrong-code Summary|eor and advance="yes" should|eor does not work |not mix | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19595