From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16909 invoked by alias); 19 Feb 2005 20:44:44 -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 16890 invoked by uid 48); 19 Feb 2005 20:44:41 -0000 Date: Sun, 20 Feb 2005 03:04:00 -0000 From: "dir at lanl dot gov" To: gcc-bugs@gcc.gnu.org Message-ID: <20050219204440.20092.dir@lanl.gov> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug fortran/20092] New: gfortran not correctly padding keyboard or text file input X-Bugzilla-Reason: CC X-SW-Source: 2005-02/txt/msg02295.txt.bz2 List-Id: Several of my progams use this method to read from the keyboard or a text file. It should read input and print it until the first character on a line is a 's'. Absoft 8.0 shows the correct response. gfortran gets a run time error reading from a file and ignores the carrage returns when reading the keyboard. [dir:~/tests/gfortran] dir% f77 -o char3 char3.f FORTRAN 77 Compiler 8.0a, Copyright (c) 1987-2003, Absoft Corp. [dir:~/tests/gfortran] dir% char3