r254918 - in /trunk/libgfortran: ChangeLog io/t...

jb@gcc.gnu.org jb@gcc.gnu.org
Sat Nov 18 22:05:00 GMT 2017


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



More information about the Gcc-cvs mailing list