https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62768
--- Comment #4 from Janne Blomqvist <jb at gcc dot gnu.org> --- Author: jb Date: Wed Sep 17 21:44:15 2014 New Revision: 215338 URL: https://gcc.gnu.org/viewcvs?rev=215338&root=gcc&view=rev Log: PR libfortran/62768 Use gfc_unit.filename also when HAVE_TTYNAME{_R} is not defined. 2014-09-18 Janne Blomqvist <j...@gcc.gnu.org> PR libfortran/62768 * io/inquire.c (inquire_via_unit): Use gfc_unit.filename also when HAVE_TTYNAME{_R} is not defined. Modified: trunk/libgfortran/ChangeLog trunk/libgfortran/io/inquire.c