https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82233
Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jvdelisle at gcc dot gnu.org
--- Comment #19 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
(In reply to Christophe Lyon from comment #17)
> Thanks for your effort; I'm still seeing noise though.
>
> Sorry, I'm not fluent in fortran: is there a way to call wait() from fortran?
> I could try adding it at the end of the testcase, to see if it reliably
> fixes the problem I observed.
You can use ISO_C_Binding and call a C function. See
https://gcc.gnu.org/onlinedocs/gfortran/Interoperable-Subroutines-and-Functions.html