Inquire returns for formatted "YES" for the following cases:

- not opened file, which is not readable. How should gfortran know?

- opened or unopend, finite-size unformatted file. This is clearly wrong.

Test program attached


-- 
           Summary: inquire(...) returns formatted=="YES" for unreadable and
                    unformatted files
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tobias dot burnus at physik dot fu-berlin dot de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29578

Reply via email to