re PR fortran/77707 (formatted direct access: nextrec off by one)
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Wed, 28 Sep 2016 19:38:03 +0000 (19:38 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Wed, 28 Sep 2016 19:38:03 +0000 (19:38 +0000)
commitb89f743da8da9cc4884225cb30570c755026d79f
treeb19be4e6c667ffa7820db3e2b637f97ed4fdf573
parent4b3906980ac60781cddae5a787bf2908dd0920b7
re PR fortran/77707 (formatted direct access: nextrec off by one)

2016-09-28  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/77707
io/transfer.c (next_record): Flush before calculating next_record.
Correctly calculate.

From-SVN: r240592
libgfortran/ChangeLog
libgfortran/io/transfer.c