[Bug libfortran/105361] Incorrect end-of-file condition for derived-type I/O
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jul 25 16:01:40 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105361
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jerry DeLisle <jvdelisle@gcc.gnu.org>:
https://gcc.gnu.org/g:3aeb697a2158d359d9f951f6c6c6bcd9c53c8c2f
commit r15-2320-g3aeb697a2158d359d9f951f6c6c6bcd9c53c8c2f
Author: Jerry DeLisle <jvdelisle@gcc.gnu.org>
Date: Wed Jul 24 10:29:08 2024 -0700
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.
More information about the Gcc-bugs
mailing list