This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/21435] New: gfortran fails to open nonexisting file with status scratch
- From: "joe at confucius dot gnacademy dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 May 2005 04:12:54 -0000
- Subject: [Bug fortran/21435] New: gfortran fails to open nonexisting file with status scratch
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Not sure what the standard says but the difference should probably be at least
release noted.
[joe@localhost ~]$ ifort -o testf test.f
[joe@localhost ~]$ ./testf
well done
[joe@localhost ~]$ gfortran -o testf test.f
[joe@localhost ~]$ ./testf
3
STOP io-err 91
[joe@localhost ~]$ cat test.f
program prefort
nt1=91
open(unit=nt1,iostat=ierr,form='formatted',file='/tmp/nt1'
1,err=91,status='scratch')
stop 'well done'
91 print *,ierr
stop 'io-err 91'
end
--
Summary: gfortran fails to open nonexisting file with status
scratch
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: joe at confucius dot gnacademy dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i586-mandrake-linux-gnu
GCC host triplet: i586-mandrake-linux-gnu
GCC target triplet: i586-mandrake-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21435