https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92569

--- Comment #11 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Mon Nov 25 20:04:28 2019
New Revision: 278702

URL: https://gcc.gnu.org/viewcvs?rev=278702&root=gcc&view=rev
Log:
Fix EOF handling for arrays.

2019-11-25  Thomas Koenig  <tkoe...@gcc.gnu.org>
        Harald Anlauf <anl...@gmx.de>

        Backport from trunk
        PR fortran/92569
        * io/transfer.c (transfer_array_inner):  If position is
        at AFTER_ENDFILE in current unit, return from data loop.

2019-11-25  Thomas Koenig  <tkoe...@gcc.gnu.org>
        Harald Anlauf <anl...@gmx.de>

        Backport from trunk
        PR fortran/92569
        * gfortran.dg/eof_6.f90: New test.


Added:
    branches/gcc-9-branch/gcc/testsuite/gfortran.dg/eof_6.f90
Modified:
    branches/gcc-9-branch/gcc/testsuite/ChangeLog
    branches/gcc-9-branch/libgfortran/ChangeLog
    branches/gcc-9-branch/libgfortran/io/transfer.c

Reply via email to