This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/24579] New: error on list directed read
- From: "morantzb at nemesis dot tucson dot saic dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Oct 2005 01:39:06 -0000
- Subject: [Bug fortran/24579] New: error on list directed read
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
when it comes to a list directed I/O, it reports an error.
It is in the J3 spec, I think R901
read(unit=50,FMT=*,END=100)a,b,c
it will not run.
I have found that if I remove the 'unit=', then it will work, but that is a
default value, and is not according to the spec, which goes back to F77
it works fine on namelist I/O and on fomratted input. But not list directed.
please correct
thank you
--
Summary: error on list directed read
Product: gcc
Version: 4.0.2
Status: UNCONFIRMED
Severity: major
Priority: P1
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: morantzb at nemesis dot tucson dot saic dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24579