This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/31256] New: Reading from /dev/zero hangs


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]