gcc/libgfortran/io
Janne Blomqvist 4047bab96d PR 53796 Make inquire(file=, recl=) conform to F2018
In my original patch to fix PR 53796 I forgot to fix the behavior for
unconnected units when inquiring via filename. This patch fixes that.

Regtested on x86_64-pc-linux-gnu, committed as obvious.

libgfortran/ChangeLog:

2019-08-07  Janne Blomqvist  <jb@gcc.gnu.org>

	PR fortran/53796
	* io/inquire.c (inquire_via_filename): Set recl to -1 for
	unconnected units.

gcc/testsuite/ChangeLog:

2019-08-07  Janne Blomqvist  <jb@gcc.gnu.org>

	PR fortran/53796
	* gfortran.dg/inquire_recl_f2018.f90: Test for unconnected unit
	with inquire via filename.

From-SVN: r274160
2019-08-07 10:34:10 +03:00
..
async.c libgfortran: Use proper gthr.h API 2019-01-28 06:35:41 +00:00
async.h
close.c re PR libfortran/89020 (close(status='DELETE') does not remove file) 2019-01-27 19:42:34 +00:00
fbuf.c
fbuf.h
file_pos.c
format.c fortran/89100: Default widths with -fdec-format-defaults 2019-05-22 14:56:01 +03:00
format.h
inquire.c PR 53796 Make inquire(file=, recl=) conform to F2018 2019-08-07 10:34:10 +03:00
intrinsics.c
io.h fortran/89100: Default widths with -fdec-format-defaults 2019-05-22 14:56:01 +03:00
list_read.c
lock.c
open.c Allow opening file on multiple units 2019-05-15 21:02:36 +03:00
read.c fortran/89100: Default widths with -fdec-format-defaults 2019-05-22 14:56:01 +03:00
size_from_kind.c
transfer128.c
transfer.c transfer.c (transfer_array_inner): Do not cast charlen to index_type. 2019-02-26 19:41:53 +01:00
unit.c
unix.c re PR libfortran/91030 (Poor performance of I/O -fconvert=big-endian) 2019-07-21 15:55:49 +00:00
unix.h
write_float.def fortran/89100: Default widths with -fdec-format-defaults 2019-05-22 14:56:01 +03:00
write.c fortran/89100: Default widths with -fdec-format-defaults 2019-05-22 14:56:01 +03:00