https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118935
--- Comment #9 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- (In reply to Jerry DeLisle from comment #7) > More importantly I dont believe it is legitimate to run fortran IO in a > libgomp environment at all. It was and is not designed to run omp_parallel. > The fortran language itself provides it's own parralelism and that is what > async I/O and Coarrays is all about. The OMP directives are outside the > scope of the fortran language, especially regarding file I/O > > My opinion is the test case should be removed as invalid. So are rwlock_2.f90 and rwlock_3.f90 also invalid or not?