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

Reply via email to