From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21649 invoked by alias); 3 Sep 2008 17:04:18 -0000 Received: (qmail 21265 invoked by uid 48); 3 Sep 2008 17:02:58 -0000 Date: Wed, 03 Sep 2008 17:04:00 -0000 Subject: [Bug fortran/37355] New: Request runtime preconnected buffer option for gfortran X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "MMcVeigh at att dot net" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-09/txt/msg00377.txt.bz2 When FORTRAN code is combined with C, there can be instances of non-chronological output for STDOUT and STDERR. Setting the environment variable GFORTRAN_PRECONNECTED_UNBUFFERED is effective, but is not helpful for uncontrolled customer shell environments. I would like a method to override the default buffering at runtime. One method is to provide a libfortran globally accessible function to change the libfortran.h values of _gfortrani_options.all_unbuffered = 1 and _gfortrani_options.unbuffered_preconnected = 1 Thank You, Mark McVeigh -- Summary: Request runtime preconnected buffer option for gfortran Product: gcc Version: 4.3.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: MMcVeigh at att dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37355