From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28322 invoked by alias); 8 Sep 2005 11:04:45 -0000 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 Received: (qmail 28081 invoked by uid 48); 8 Sep 2005 11:04:07 -0000 Date: Thu, 08 Sep 2005 11:04:00 -0000 From: "T dot Farago at lumc dot nl" To: gcc-bugs@gcc.gnu.org Message-ID: <20050908110403.23778.T.Farago@lumc.nl> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug fortran/23778] New: [Regression] Printout resets console buffer X-Bugzilla-Reason: CC X-SW-Source: 2005-09/txt/msg00928.txt.bz2 List-Id: We are using a testing-script to test our fortran suite. With GCC 4.1.0 2005-08- 19 our script fails to log all output. Any output before the fortran program was run is missing from the redirected console (bash in our case). The fortran program in question: PROGRAM HELLO DO 10, I=1,2 PRINT *,'Hello World' 10 CONTINUE STOP END Simple test script: #!/bin/sh -x #test-script echo '# START OF TESTS #' > /dev/tty echo '' /home/fortran/hellof90 echo '# END OF TESTS #' > /dev/tty run test script: ./tst.sh &> tstrap This causes the 'tstrap' file to only contain the output of the fortran program and 'end of tests'. -- Summary: [Regression] Printout resets console buffer Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: T dot Farago at lumc dot nl CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: ../gcc-4.1-20050819/configure -v --prefix=/usr/cross- tools/ --di GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23778