https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114304
chenglulu <chenglulu at loongson dot cn> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |chenglulu at loongson dot cn
--- Comment #23 from chenglulu <chenglulu at loongson dot cn> ---
(In reply to GCC Commits from comment #22)
> The master branch has been updated by Jerry DeLisle <[email protected]>:
>
> https://gcc.gnu.org/g:93adf88cc6744aa2c732b765e1e3b96e66cb3300
>
> commit r14-9822-g93adf88cc6744aa2c732b765e1e3b96e66cb3300
> Author: Jerry DeLisle <[email protected]>
> Date: Fri Apr 5 19:25:13 2024 -0700
>
> 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.
Hi,
This patch causes spec2017 527 and 627 tests to fail.