]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fortran: Fix runtime bogus diagnostic with ';'
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Tue, 5 Aug 2025 19:10:24 +0000 (12:10 -0700)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Wed, 6 Aug 2025 00:34:47 +0000 (17:34 -0700)
commit3d496ed9a5821ae9188e5242c1e26eea80c4039f
treef956851a2b7bceb07a8099e433bd127c66f7aedf
parent10b8ba6f0f1308df9eb9df3a5e8ce9ecaa227ecb
Fortran: Fix runtime bogus diagnostic with ';'

PR libfortran/121234

libgfortran/ChangeLog:

* io/list_read.c (read_character): Add checks to bypass eating
semicolons when reading strings with decimal mode 'point'
(list_formatted_read_scalar): Likewise.

gcc/testsuite/ChangeLog:

* gfortran.dg/pr121234.f90: New test.
gcc/testsuite/gfortran.dg/pr121234.f90 [new file with mode: 0644]
libgfortran/io/list_read.c