From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14119 invoked by alias); 20 Mar 2007 00:41:34 -0000 Received: (qmail 14080 invoked by uid 48); 20 Mar 2007 00:41:26 -0000 Date: Tue, 20 Mar 2007 00:41:00 -0000 Message-ID: <20070320004126.14079.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/31199] write with "t1" + nonadvancing transfer format gives wrong output In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jvdelisle at gcc dot gnu dot org" 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: 2007-03/txt/msg01886.txt.bz2 ------- Comment #9 from jvdelisle at gcc dot gnu dot org 2007-03-20 00:41 ------- Reply to comment #8: that was my take on this, that ifort is correct. It passed my intuitive sense of it. Non-advancing means what it says so that the subsequent write must continue from there and overwrite what was previously written. Then, bytes written already after that are still there and define the end of the record/line. Regardless, I am close to a fix. I will post to list in the next day or so. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31199