gcc/libgfortran/io
Jerry DeLisle 381fc8ed0f Fortran: Fix bad read involving extra input text.
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.
2025-12-15 11:56:28 -08:00
..
async.c Update copyright years. 2025-01-02 11:59:57 +01:00
async.h Update copyright years. 2025-01-02 11:59:57 +01:00
close.c Fortran: Fix runtime segfault closing negative unit 2025-04-13 08:39:32 -07:00
fbuf.c Update copyright years. 2025-01-02 11:59:57 +01:00
fbuf.h Update copyright years. 2025-01-02 11:59:57 +01:00
file_pos.c Update copyright years. 2025-01-02 11:59:57 +01:00
format.c Fortran: Final cleanup of zero width formats [PR90374] 2025-11-11 09:35:44 -08:00
format.h Update copyright years. 2025-01-02 11:59:57 +01:00
inquire.c Update copyright years. 2025-01-02 11:59:57 +01:00
intrinsics.c Update copyright years. 2025-01-02 11:59:57 +01:00
io.h Update copyright years. 2025-01-02 11:59:57 +01:00
list_read.c Fortran: Fix bad read involving extra input text. 2025-12-15 11:56:28 -08:00
lock.c Update copyright years. 2025-01-02 11:59:57 +01:00
open.c Fortran: Fix runtime segfault closing negative unit 2025-04-13 08:39:32 -07:00
read.c fortran: fix simple typo in libgfortran 2025-05-10 19:04:12 +02:00
size_from_kind.c Update copyright years. 2025-01-02 11:59:57 +01:00
transfer.c Fortran: Fix handling of the X edit descriptor. 2025-02-06 09:43:26 -08:00
transfer128.c Update copyright years. 2025-01-02 11:59:57 +01:00
unit.c Update copyright years. 2025-01-02 11:59:57 +01:00
unix.c Update copyright years. 2025-01-02 11:59:57 +01:00
unix.h Update copyright years. 2025-01-02 11:59:57 +01:00
write.c Fortran: Fix UTF-8 output with A edit descriptor. 2025-01-24 09:05:56 -08:00
write_float.def Update copyright years. 2025-01-02 11:59:57 +01:00