[Bug libfortran/27046] [mingw32] mixed C-Fortran I/O doesn't flush

dannysmith at users dot sourceforge dot net gcc-bugzilla@gcc.gnu.org
Wed Sep 13 03:59:00 GMT 2006



------- Comment #6 from dannysmith at users dot sourceforge dot net  2006-09-13 03:59 -------
(In reply to comment #5)
> This is not DLL-related, the following code doesn't have the expected behaviour
> (although it works fine on i686-linux, even in the static case):


With gcc version 4.2.0 20060911, the test case in Comment #5 works as expected
if the app is run from a cmd.exe shell or from a bash shell.

When the output is redirected to a file, I get the results you report, but with
redirection, one might expect that (on windows at least) in absence of flush
call.

Danny


-- 


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



More information about the Gcc-bugs mailing list