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 Update copyright years. 2019-01-01 13:31:55 +01:00
close.c re PR libfortran/89020 (close(status='DELETE') does not remove file) 2019-01-27 19:42:34 +00:00
fbuf.c Update copyright years. 2019-01-01 13:31:55 +01:00
fbuf.h Update copyright years. 2019-01-01 13:31:55 +01:00
file_pos.c Update copyright years. 2019-01-01 13:31:55 +01:00
format.c fortran/89100: Default widths with -fdec-format-defaults 2019-05-22 14:56:01 +03:00
format.h Update copyright years. 2019-01-01 13:31:55 +01:00
inquire.c PR 53796 Make inquire(file=, recl=) conform to F2018 2019-08-07 10:34:10 +03:00
intrinsics.c Update copyright years. 2019-01-01 13:31:55 +01:00
io.h fortran/89100: Default widths with -fdec-format-defaults 2019-05-22 14:56:01 +03:00
list_read.c re PR libfortran/88776 (Namelist read from stdin: loss of data) 2019-01-12 23:06:47 +00:00
lock.c Update copyright years. 2019-01-01 13:31:55 +01:00
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 Update copyright years. 2019-01-01 13:31:55 +01:00
transfer128.c Update copyright years. 2019-01-01 13:31:55 +01:00
transfer.c transfer.c (transfer_array_inner): Do not cast charlen to index_type. 2019-02-26 19:41:53 +01:00
unit.c PR other/16615 [1/5] 2019-01-09 16:37:45 -05:00
unix.c re PR libfortran/91030 (Poor performance of I/O -fconvert=big-endian) 2019-07-21 15:55:49 +00:00
unix.h Update copyright years. 2019-01-01 13:31:55 +01:00
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