This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/31256] New: Reading from /dev/zero hangs
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Mar 2007 18:28:15 -0000
- Subject: [Bug libfortran/31256] New: Reading from /dev/zero hangs
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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