gcc/libgfortran/io
Jerry DeLisle 93adf88cc6 libfortran: Fix handling of formatted separators.
PR libfortran/114304
	PR libfortran/105473

libgfortran/ChangeLog:

	* io/list_read.c (eat_separator): Add logic to handle spaces
	preceding a comma or semicolon such that that a 'null' read
	occurs without error at the end of comma or semicolon
	terminated input lines. Add check and error message for ';'.
	(list_formatted_read_scalar): Treat comma as a decimal point
	when specified by the decimal mode on the first item.

gcc/testsuite/ChangeLog:

	* gfortran.dg/pr105473.f90: Modify to verify new error message.
	* gfortran.dg/pr114304.f90: New test.
2024-04-06 06:55:45 -07:00
..
async.c Update copyright years. 2024-01-03 12:19:35 +01:00
async.h Update copyright years. 2024-01-03 12:19:35 +01:00
close.c Update copyright years. 2024-01-03 12:19:35 +01:00
fbuf.c Update copyright years. 2024-01-03 12:19:35 +01:00
fbuf.h Update copyright years. 2024-01-03 12:19:35 +01:00
file_pos.c libgfortran: Fix file position after ENDFILE statement. 2024-03-26 17:13:51 -07:00
format.c libgfortran: EN0.0E0 and ES0.0E0 format editing. 2024-02-03 09:31:35 -08:00
format.h libgfortran: EN0.0E0 and ES0.0E0 format editing. 2024-02-03 09:31:35 -08:00
inquire.c Update copyright years. 2024-01-03 12:19:35 +01:00
intrinsics.c Update copyright years. 2024-01-03 12:19:35 +01:00
io.h Fortran: Add user defined error messages for UDTIO. 2024-03-05 20:54:07 -08:00
list_read.c libfortran: Fix handling of formatted separators. 2024-04-06 06:55:45 -07:00
lock.c Update copyright years. 2024-01-03 12:19:35 +01:00
open.c Update copyright years. 2024-01-03 12:19:35 +01:00
read.c libgfortran: [PR105473] Fix checks for decimal='comma'. 2024-02-17 10:03:43 -08:00
size_from_kind.c Update copyright years. 2024-01-03 12:19:35 +01:00
transfer.c Fortran: Fix issue with using snprintf function. 2024-03-06 19:57:05 -08:00
transfer128.c Update copyright years. 2024-01-03 12:19:35 +01:00
unit.c Update copyright years. 2024-01-03 12:19:35 +01:00
unix.c Update copyright years. 2024-01-03 12:19:35 +01:00
unix.h Update copyright years. 2024-01-03 12:19:35 +01:00
write.c Fortran: Fix issue with using snprintf function. 2024-03-06 19:57:05 -08:00
write_float.def libgfortran: EN0.0E0 and ES0.0E0 format editing. 2024-02-03 09:31:35 -08:00