Fortran: Initialize last_char for internal units.
commitcf3b032b8fb681516ccacbe3689f1cad43a1773a
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Fri, 12 May 2023 19:23:00 +0000 (12 12:23 -0700)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Fri, 12 May 2023 20:40:41 +0000 (12 13:40 -0700)
tree8e44aca2e6ac622d55b909c77615c1af2db5d977
parent00fffa91f7766caa1e5b730d6a996fea0bfab8dc
Fortran: Initialize last_char for internal units.

PR fortran/109662

libgfortran/ChangeLog:

* io/unit.c (set_internal_unit): Set the internal unit
last_char to zero so that previous EOF characters do not
influence the next read.
libgfortran/io/unit.c