From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24281 invoked by alias); 9 Feb 2008 21:49:32 -0000 Received: (qmail 24113 invoked by uid 48); 9 Feb 2008 21:48:49 -0000 Date: Sat, 09 Feb 2008 21:49:00 -0000 Message-ID: <20080209214849.24112.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libfortran/35132] Formatted stream I/O write should truncate In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "tkoenig 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: 2008-02/txt/msg01054.txt.bz2 ------- Comment #4 from tkoenig at gcc dot gnu dot org 2008-02-09 21:48 ------- (In reply to comment #3) > How does this look :) I have a couple of other test prints in there. > > $ gfc pr35132.f90 > $ ./a.out > 1st: 123456 > 2nd: abcdef > 123456 > ASDFef > At line 26 of file pr35132.f90 (unit = 20, file = 'foo.txt') > Fortran runtime error: End of file This is looking very good, it is the correct behavior. When do you plan to submit? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35132