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/42090] [4.3/4.4/4.5 Regression] I/O: Problems when reading partial records in formatted direct access files



------- Comment #7 from jvdelisle at gcc dot gnu dot org  2009-11-20 04:00 -------
Subject: Bug 42090

Author: jvdelisle
Date: Fri Nov 20 04:00:03 2009
New Revision: 154355

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154355
Log:
2009-11-19  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        PR libgfortran/42090
        Backport from trunk.
        * io/transfer.c (skip_record): Set bytes_left_subrecord to zero after
        skipping the remaining bytes in the record.
        (next_record_r): Call skip_record with the number of bytes_left to be
        skipped.

Modified:
    branches/gcc-4_4-branch/libgfortran/ChangeLog
    branches/gcc-4_4-branch/libgfortran/io/transfer.c


-- 


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


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