This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]