I compiled the following program with the Windows port of gfortran. When I run
it in a MinGW shell, I do not see the output of the PRINT statement until after
the READ statement has been executed. The problem does not exist if the program
is run in a Cygwin shell, or in a DOS Window.

PROGRAM test
CHARACTER :: ch
PRINT *, "In the MinGW shell you will not see this prompt until after the READ"
READ *, ch
END PROGRAM test


-- 
           Summary: Is screen output buffered when gfortran is run in a
                    MinGW shell?
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: michael dot a dot richmond at nasa dot gov


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34327

Reply via email to