https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88411
--- Comment #8 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Author: tkoenig Date: Sun Dec 9 18:54:47 2018 New Revision: 266929 URL: https://gcc.gnu.org/viewcvs?rev=266929&root=gcc&view=rev Log: 2018-12-09 Thomas Koenig <tkoe...@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 <tkoe...@gcc.gnu.org> PR fortran/88411 * testsuite/libgomp.fortran/async_io_8.f90: New test. Added: trunk/libgomp/testsuite/libgomp.fortran/async_io_8.f90 Modified: trunk/libgfortran/ChangeLog trunk/libgfortran/io/transfer.c trunk/libgomp/ChangeLog