[Bug fortran/35699] [4.3/4.4 regression] run-time abort writing zero sized section to direct access file

jvdelisle at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Mar 28 22:14:00 GMT 2008



------- Comment #8 from jvdelisle at gcc dot gnu dot org  2008-03-28 22:14 -------
Subject: Bug 35699

Author: jvdelisle
Date: Fri Mar 28 22:13:17 2008
New Revision: 133699

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133699
Log:
2008-03-28  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        PR libfortran/35699
        * io/transfer.c (write_buf):  Don't pad the record, just return if the
        data is NULL.  (next_record_w): If there are bytes left in the record
        for unformatted direct I/O, pad out the record with zero bytes.

Modified:
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/io/transfer.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35699



More information about the Gcc-bugs mailing list