With the following test program gfortran hangs, so also g77, and ifort gives a severe error, out of memory.
$ cat dev_zero.f character*20 foo integer i open(10,file="/dev/zero") read(10, '(A)') foo write(10,'(A)') "Hello" rewind(10) read(10, '(A)') foo 100 continue end -- Summary: Reading from /dev/zero hangs Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: libfortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jvdelisle at gcc dot gnu dot org GCC host triplet: x86-64-pc-Linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31256