http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48976
--- Comment #4 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2012-12-27 18:07:39 UTC --- Author: jvdelisle Date: Thu Dec 27 18:07:33 2012 New Revision: 194733 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194733 Log: 2012-12-27 Jerry DeLisle <jvdeli...@gcc.gnu.org> PR libfortran/48976 * io/inquire.c (inquire_via_unit): Set user stream inquiry variable to appropriate value based on unit access method. (inquire_via_filename): Since filename is not associated with an open unit, set stream inquiry to UNKNOWN. * io/io.h: Define inquire stream parameters. Modified: trunk/libgfortran/ChangeLog trunk/libgfortran/io/inquire.c trunk/libgfortran/io/io.h