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

            Bug ID: 102992
           Summary: Piping in a file does no longer work on macOS Monterey
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: juergen.reuter at desy dot de
  Target Milestone: ---

I don't know whether this is really an issue with gfortran or a screwed setting
of my macOS installation, I have macOS 12.0.1 Monterey, Darwin 21.1.0, with
XCode 13.1, and a simple file

main.f90:

program main
 print *, "42"
end program main

gfortran -o conftest main.f90

prints 42 in the shell, so to stdout. But when tryng pipe to a file this does
not work, the file is always empty, i.e.

./conftest > bla.txt
result in an empty file.

Reply via email to