From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5786 invoked by alias); 18 Dec 2009 02:54:04 -0000 Received: (qmail 5760 invoked by uid 48); 18 Dec 2009 02:53:49 -0000 Date: Fri, 18 Dec 2009 02:54:00 -0000 Subject: [Bug fortran/42422] New: Error in Fortran list directed input X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "palmtag5 at yahoo dot com" 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: 2009-12/txt/msg01793.txt.bz2 An error occurs when arrays are read from the input using list-directed input that uses a repeat(*) before a record terminator (/). The repeat is ignored. For example, reading an integer array dimensioned 10 integer :: imatrx(10) ... read (*,*) imatrx will give the wrong results when the input has a repeat before the record terminator 1 2 3 4*5 / Will read in the values as "1 2 3 5 x x x x x x" instead of "1 2 3 5 5 5 5 x x x" -- Summary: Error in Fortran list directed input Product: gcc Version: 4.3.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: palmtag5 at yahoo dot com GCC build triplet: 4.3.2 GCC host triplet: 4.3.2 GCC target triplet: 4.3.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42422