[Bug libfortran/102992] fortran: redirecting standard out to a file does not work on macOS 12.0

tkoenig at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 1 11:17:28 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102992

--- Comment #15 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
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?


More information about the Gcc-bugs mailing list