[Bug fortran/29578] inquire(...) returns formatted=="YES" for unreadable and unformatted files

2006-10-24 Thread tobias dot burnus at physik dot fu-berlin dot de
--- Comment #1 from tobias dot burnus at physik dot fu-berlin dot de 2006-10-24 12:27 --- Created an attachment (id=12482) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12482&action=view) Test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29578

[Bug fortran/29578] inquire(...) returns formatted=="YES" for unreadable and unformatted files

2006-10-24 Thread tobias dot burnus at physik dot fu-berlin dot de
--- Comment #2 from tobias dot burnus at physik dot fu-berlin dot de 2006-10-24 13:31 --- I'm actually not any more sure what is meant by "formatted" in inquire(). The Fortran 2003 standard says: "The scalar-default-char-variable in the FORMATTED= specifier is assigned the value YES if

[Bug fortran/29578] inquire(...) returns formatted=="YES" for unreadable and unformatted files

2006-10-26 Thread jvdelisle at gcc dot gnu dot org
--- Comment #3 from jvdelisle at gcc dot gnu dot org 2006-10-27 04:01 --- If I understand correctly, the inquire FORMATTED= specifier does not have anything to do with whether the file is opened for formatted or unformatted I/O. It is simply asking, is the file, if it exists, suitable

[Bug fortran/29578] inquire(...) returns formatted=="YES" for unreadable and unformatted files

2006-10-27 Thread tobias dot burnus at physik dot fu-berlin dot de
--- Comment #4 from tobias dot burnus at physik dot fu-berlin dot de 2006-10-27 08:06 --- Close as invalid then. -- tobias dot burnus at physik dot fu-berlin dot de changed: What|Removed |Added -