[Bug fortran/77707] [5/6/7 Regression] formatted direct access: nextrec off by one
jvdelisle at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Sep 30 04:50:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77707
--- Comment #8 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Author: jvdelisle
Date: Fri Sep 30 04:49:36 2016
New Revision: 240645
URL: https://gcc.gnu.org/viewcvs?rev=240645&root=gcc&view=rev
Log:
2016-09-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
Backport from trunk
PR libgfortran/77707
io/transfer.c (next_record): Flush before calculating next_record.
Correctly calculate.
* gfortran.dg/inquire_17.f90: New test.
Added:
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/inquire_17.f90
Modified:
branches/gcc-5-branch/gcc/testsuite/ChangeLog
branches/gcc-5-branch/libgfortran/ChangeLog
branches/gcc-5-branch/libgfortran/io/transfer.c
More information about the Gcc-bugs
mailing list