Re: [patch, libgfortran] PR77707 formatted direct access: nextrec off by one

2016-09-28 Thread Steve Kargl
On Tue, Sep 27, 2016 at 10:15:40PM -0700, Jerry DeLisle wrote: > I plan to commit the attached patch in the next few days. Fairly simple. > > Regression tested on x86-64. > Looks ok to me. -- Steve

[patch, libgfortran] PR77707 formatted direct access: nextrec off by one

2016-09-27 Thread Jerry DeLisle
I plan to commit the attached patch in the next few days. Fairly simple. Regression tested on x86-64. Regards, Jerry 2016-09-27 Jerry DeLisle PR libgfortran/77707 io/transfer.c (next_record): Flush before calculating next_record. Correctly calculate. diff --git a/li