From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22316 invoked by alias); 13 Sep 2006 03:59:49 -0000 Received: (qmail 22280 invoked by uid 48); 13 Sep 2006 03:59:40 -0000 Date: Wed, 13 Sep 2006 03:59:00 -0000 Message-ID: <20060913035940.22279.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libfortran/27046] [mingw32] mixed C-Fortran I/O doesn't flush In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dannysmith at users dot sourceforge dot net" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-09/txt/msg01152.txt.bz2 List-Id: ------- 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