On 11/24/19 2:20 PM, Jerry DeLisle wrote:
Committed this as simple one liner. I will probably backport this in a few days.Jerry Committed r278660 M libgfortran/ChangeLog M libgfortran/io/transfer.c 2019-11-24 Jerry DeLisle <jvdeli...@gcc.ngu.org> PR fortran/92100 io/transfer.c (data_transfer_init_worker): Use fbuf_reset instead of fbuf_flush before the seek. Note that fbuf_reset calls fbuf_flush and adjusts fbuf pointers.
Also commited a testcase, streamio_18.f90. Jerry