re PR libfortran/88411 (Random crashes for ASYNCHRONOUS writes (bad locking?))
commitd0cbb206e2068e97efc3022c587bdaa16b85d9c0
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 9 Dec 2018 18:54:47 +0000 (9 18:54 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 9 Dec 2018 18:54:47 +0000 (9 18:54 +0000)
tree73a313fa1bb5731bfb41b304166e42efd23d89d8
parent59cd1934df18511835b88e36edf0327db5db738b
re PR libfortran/88411 (Random crashes for ASYNCHRONOUS writes (bad locking?))

2018-12-09  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/88411
* io/transfer.c (dta_transfer_init): Do not treat as an
asynchronous statement unless the statement has
ASYNCHRONOUS="YES".
(st_write_done): Likewise.
(st_read_done): Do not perform async_wait for synchronous I/O
on an async unit.
(st_read_done): Likewise.

2018-12-09  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/88411
* testsuite/libgomp.fortran/async_io_8.f90: New test.

From-SVN: r266929
libgfortran/ChangeLog
libgfortran/io/transfer.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.fortran/async_io_8.f90 [new file with mode: 0644]