gcc/libgfortran/io
Mark Eggleston c2a0fd7c8f Fortran : rejected f0.d edit descriptor PR96436
Zero length f format descriptors are valid for Fortran 95 and
later.  For g format descriptors from Fortran 2008 and later.
Finally for D, E, EN and ES for Fortran 2018 and later.

2020-08-20  Mark Eggleston  <markeggleston@gcc.gnu.org>

libgfortran/

	PR fortran/96436
	* io/format.c (parse_format_list):  Add new local variable
	"standard" to hold the required standard to check. If the
	format width is zero select standard depending on descriptor.
	Call notification_std using the new standard variable.

2020-08-20  Mark Eggleston  <markeggleston@gcc.gnu.org>

gcc/testsuite/

	PR fortran/96436
	* gfortran.dg/pr96436_1.f90: New test.
	* gfortran.dg/pr96436_2.f90: New test.
	* gfortran.dg/pr96436_3.f90: New test.
	* gfortran.dg/pr96436_4.f90: New test.
	* gfortran.dg/pr96436_5.f90: New test.
	* gfortran.dg/pr96436_6.f90: New test.
	* gfortran.dg/pr96436_7.f90: New test.
	* gfortran.dg/pr96436_8.f90: New test.
	* gfortran.dg/pr96436_9.f90
	* gfortran.dg/pr96436_10.f90
2020-08-20 07:40:55 +01:00
..
async.c Fixes a hang on an invalid ID in a WAIT statement. 2020-05-23 19:01:43 +02:00
async.h Use au->lock exclusively for locking in async I/O. 2020-02-18 19:45:25 +01:00
close.c Add early return for invalid STATUS for close. 2020-05-14 18:33:24 +02:00
fbuf.c Update copyright years. 2020-01-01 12:51:42 +01:00
fbuf.h Update copyright years. 2020-01-01 12:51:42 +01:00
file_pos.c Update copyright years. 2020-01-01 12:51:42 +01:00
format.c Fortran : rejected f0.d edit descriptor PR96436 2020-08-20 07:40:55 +01:00
format.h Update copyright years. 2020-01-01 12:51:42 +01:00
inquire.c Update copyright years. 2020-01-01 12:51:42 +01:00
intrinsics.c Update copyright years. 2020-01-01 12:51:42 +01:00
io.h PR 90374 d0.d, e0.d, es0.d, en0.d, g0.d and ew.d edit descriptors. 2020-01-02 00:57:31 +00:00
list_read.c Update copyright years. 2020-01-01 12:51:42 +01:00
lock.c Update copyright years. 2020-01-01 12:51:42 +01:00
open.c Update copyright years. 2020-01-01 12:51:42 +01:00
read.c Update copyright years. 2020-01-01 12:51:42 +01:00
size_from_kind.c Update copyright years. 2020-01-01 12:51:42 +01:00
transfer128.c Update copyright years. 2020-01-01 12:51:42 +01:00
transfer.c PR fortran/95195 - Fortran testcase should clean up afterwards 2020-06-08 21:01:06 +02:00
unit.c PR fortran/95104 - Segfault on a legal WAIT statement 2020-05-28 21:53:17 +02:00
unix.c Update copyright years. 2020-01-01 12:51:42 +01:00
unix.h Update copyright years. 2020-01-01 12:51:42 +01:00
write_float.def PR 93567, G edit descriptor uses E instead of F editing in rounding mode UP. 2020-07-24 20:47:47 +02:00
write.c Disable -Wstringop-overflow warning after checking code path of caller. 2020-06-13 10:04:33 +02:00