https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102992
--- Comment #17 from Iain Sandoe <iains at gcc dot gnu.org> --- (In reply to Thomas Koenig from comment #15) > Hmm, to test this further: What does > > program main > use, intrinsic :: iso_fortran_env, only: output_unit > write (*,'(A)') 'Hello, world!' > flush output_unit > end program main > > yield, does that create the file as expected? yup, indeed it does.