https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44292

--- Comment #11 from Janne Blomqvist <jb at gcc dot gnu.org> ---
Author: jb
Date: Sat Nov 18 22:05:13 2017
New Revision: 254918

URL: https://gcc.gnu.org/viewcvs?rev=254918&root=gcc&view=rev
Log:
PR 44292 Handle large record lengths

Now that the ABI supports large record lengths, there's a few places
in libgfortran where we need to use larger types. For internal units
which by definition are in-memory, it's enought to use ptrdiff_t, for
external units gfc_offset.

Regtested on x86_64-pc-linux-gnu?

libgfortran/ChangeLog:

2017-11-19  Janne Blomqvist  <j...@gcc.gnu.org>

        PR fortran/44292
        * io/transfer.c (skip_record): Use gfc_offset to handle large
        records.
        (next_record_r): Likewise.
        (sset): Likewise.
        (next_record_w): Use gfc_offset/ptrdiff_t appropriately.

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

Reply via email to