[Bug fortran/31199] write with "t1" + nonadvancing transfer format gives wrong output
jvdelisle at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Mar 26 03:23:00 GMT 2007
------- Comment #11 from jvdelisle at gcc dot gnu dot org 2007-03-26 04:23 -------
Subject: Bug 31199
Author: jvdelisle
Date: Mon Mar 26 04:23:15 2007
New Revision: 123205
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123205
Log:
2007-03-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/31199
*io/io.h: Add saved_pos to gfc_unit structure.
*io/open.c (new_unit): Initialize saved_pos.
*io/transfer.c (data_transfer_init): Set max_pos to value in saved_pos.
(next_record_w): Fix whitespace.
(finalze_transfer): Calculate max_pos for ADVANCE="no" and save it for
later use. If not ADVANCE="no" set saved_pos to zero.
Modified:
trunk/libgfortran/ChangeLog
trunk/libgfortran/io/io.h
trunk/libgfortran/io/open.c
trunk/libgfortran/io/transfer.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31199
More information about the Gcc-bugs
mailing list