[Bug fortran/83458] F2008: inquire fails on units opened with newunit=

jvdelisle at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 22 04:59:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83458

Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
You have your inquire arguments wrong

Try:

 inquire(unit=un, opened=openedq, name=name_of_file)

or

 inquire(number=un, opened=openedq, file="/dev/urandom")

Marking as invalid


More information about the Gcc-bugs mailing list