gcc/libgfortran
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
..
caf libgfortran/caf/single.c: Fix typo. 2020-08-03 09:41:24 +02:00
config aix: Support libgfortran libcaf_single.a as a FAT library 2020-08-17 14:05:41 -04:00
generated libgfortran: Export forgotten _gfortran_{,m,s}findloc{0,1}_c10 [PR95390] 2020-05-29 19:01:50 +02:00
ieee
intrinsics Protect the trigd functions in libgfortran from unavailable math functions. 2020-04-23 10:11:01 -04:00
io Fortran : rejected f0.d edit descriptor PR96436 2020-08-20 07:40:55 +01:00
m4 libgfortran: Use __builtin_cpu_is/__builtin_cpu_supports 2020-05-21 03:54:47 -07:00
runtime Fixes a hang on an invalid ID in a WAIT statement. 2020-05-23 19:01:43 +02:00
acinclude.m4
aclocal.m4
c99_protos.h libgfortran: Provide some further math library fallbacks [PR94694] 2020-04-22 21:34:19 +02:00
ChangeLog Daily bump. 2020-08-18 00:16:26 +00:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-2016
ChangeLog-2017
ChangeLog-2018
ChangeLog-2019
config.h.in libgfortran: Provide some further math library fallbacks [PR94694] 2020-04-22 21:34:19 +02:00
configure libgfortran: Skip integer-kind=16 check for amdgcn 2020-07-26 07:20:24 +02:00
configure.ac libgfortran: Skip integer-kind=16 check for amdgcn 2020-07-26 07:20:24 +02:00
configure.host aix: Add GCC64 configuration and FAT target libraries. 2020-06-21 14:14:46 -04:00
gfortran.map libgfortran: Export forgotten _gfortran_{,m,s}findloc{0,1}_c10 [PR95390] 2020-05-29 19:01:50 +02:00
ISO_Fortran_binding.h
kinds-override.h
libgfortran.h
libgfortran.spec.in
libtool-version
Makefile.am libgfortran: Skip integer-kind=16 check for amdgcn 2020-07-26 07:20:24 +02:00
Makefile.in libgfortran: Skip integer-kind=16 check for amdgcn 2020-07-26 07:20:24 +02:00
mk-kinds-h.sh libgfortran: Skip integer-kind=16 check for amdgcn 2020-07-26 07:20:24 +02:00
mk-sik-inc.sh libgfortran: Skip integer-kind=16 check for amdgcn 2020-07-26 07:20:24 +02:00
mk-srk-inc.sh libgfortran: Skip integer-kind=16 check for amdgcn 2020-07-26 07:20:24 +02:00