This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/24699] READ with T format specifier fails on end-of-record condition
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Nov 2005 20:19:27 -0000
- Subject: [Bug libfortran/24699] READ with T format specifier fails on end-of-record condition
- References: <bug-24699-10743@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from jvdelisle at gcc dot gnu dot org 2005-11-11 20:19 -------
Subject: Bug 24699
Author: jvdelisle
Date: Fri Nov 11 20:19:21 2005
New Revision: 106797
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106797
Log:
2005-11-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/24699, 24700, 24719, 24785
* io/transfer.c (read_sf): Remove incorrect statement that was
clearing bytes_left.
(formatted_transfer_scalar): Add handling of end-of-record
condition, setting values correctly to backup. Handle x format
when doing non-advancing write.
(st_read): Initialize current_record.
Modified:
trunk/libgfortran/io/transfer.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24699