This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/18983] New: can't open /dev/null as an output file
- From: "Thomas dot Koenig at online dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Dec 2004 13:35:00 -0000
- Subject: [Bug libfortran/18983] New: can't open /dev/null as an output file
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
$ cat devnull.f90
open(10,file="/dev/null")
write(10,*) "Hello, world"
end
$ gfortran devnull.f90
$ ./a.out
At line 2 of file devnull.f90
Fortran runtime error: Invalid argument
$ gfortran -v
Reading specs from /home/zfkts/lib/gcc/ia64-unknown-linux-gnu/4.0.0/specs
Configured with: ../gcc-4.0-20041212/configure --prefix=/home/zfkts
--enable-languages=c,c++,f95
Thread model: posix
gcc version 4.0.0 20041212 (experimental)
--
Summary: can't open /dev/null as an output file
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libfortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: Thomas dot Koenig at online dot de
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18983