[patch, committed] PR92100 Formatted stream IO irreproducible read with binary data in file

Jerry DeLisle jvdelisle@charter.net
Mon Nov 25 02:29:00 GMT 2019


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



More information about the Fortran mailing list