This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29578] New: inquire(...) returns formatted=="YES" for unreadable and unformatted files
- From: "tobias dot burnus at physik dot fu-berlin dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Oct 2006 12:26:09 -0000
- Subject: [Bug fortran/29578] New: inquire(...) returns formatted=="YES" for unreadable and unformatted files
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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