mirror of git://gcc.gnu.org/git/gcc.git
The problem here involved DTIO mixed with non-DTIO variables in list formatted reads. The previous fix to PR105361 broke the test case here by mis-handling the end of file conditions. It was found that the code could be significantly reduced as well. PR libfortran/122936 libgfortran/ChangeLog: * io/list_read.c (finish_list_read): Remove the use of hit_eof and free_line. Simplify the logic. Add comments to clarify. gcc/testsuite/ChangeLog: * gfortran.dg/pr122936.f90: New test. |
||
|---|---|---|
| .. | ||
| async.c | ||
| async.h | ||
| close.c | ||
| fbuf.c | ||
| fbuf.h | ||
| file_pos.c | ||
| format.c | ||
| format.h | ||
| inquire.c | ||
| intrinsics.c | ||
| io.h | ||
| list_read.c | ||
| lock.c | ||
| open.c | ||
| read.c | ||
| size_from_kind.c | ||
| transfer.c | ||
| transfer128.c | ||
| unit.c | ||
| unix.c | ||
| unix.h | ||
| write.c | ||
| write_float.def | ||