]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fortran: Suppress wrong End Of File error with user defined IO.
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Wed, 24 Jul 2024 17:29:08 +0000 (10:29 -0700)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 28 Jul 2024 17:05:58 +0000 (19:05 +0200)
commita68e9d31f80ac189053319dd65095988ceb3336a
tree39c4ad77ae9bb23ac5021ac1287a8381e7a2facb
parenta22bc48f22bf86187d22aa35ce0b1c5dd098a808
Fortran: Suppress wrong End Of File error with user defined IO.

PR libfortran/105361

libgfortran/ChangeLog:

* io/list_read.c (finish_list_read): Add a condition check for
a user defined derived type IO operation to avoid calling the
EOF error.

gcc/testsuite/ChangeLog:

* gfortran.dg/pr105361.f90: New test.
gcc/testsuite/gfortran.dg/pr105361.f90 [new file with mode: 0644]
libgfortran/io/list_read.c