gcc/libgfortran/io
Thomas Koenig 8df7ee67f6 Fixes a hang on an invalid ID in a WAIT statement.
gcc/fortran/ChangeLog:

2020-05-23  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR libfortran/95191
	* libgfortran.h (libgfortran_error_codes): Add
	LIBERROR_BAD_WAIT_ID.

libgfortran/ChangeLog:

2020-05-23  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR libfortran/95191
	* io/async.c (async_wait_id): Generate error if ID is higher
	than the highest current ID.
	* runtime/error.c (translate_error): Handle LIBERROR_BAD_WAIT_ID.

libgomp/ChangeLog:

2020-05-23  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR libfortran/95191
	* testsuite/libgomp.fortran/async_io_9.f90: New test.
2020-05-23 19:01:43 +02: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
fbuf.h
file_pos.c
format.c PR90374 Zero width format specifiers. 2020-01-17 11:26:10 -08:00
format.h
inquire.c
intrinsics.c
io.h
list_read.c
lock.c
open.c
read.c
size_from_kind.c
transfer.c
transfer128.c
unit.c PR93234 INQUIRE on pre-assigned files of ROUND and SIGN properties 2020-01-17 19:36:03 -08:00
unix.c
unix.h
write.c
write_float.def PR90374 Zero width format specifiers. 2020-01-17 11:26:10 -08:00