]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fortran: [PR123012] Silent acceptance of unquoted character items
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Thu, 8 Jan 2026 05:48:49 +0000 (21:48 -0800)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Sun, 11 Jan 2026 03:59:56 +0000 (19:59 -0800)
commit3e77ce5bcc4d9e467f119bbece5c26cdb4e24210
tree906224fc380e8324af0cdff9bd0c525307320650
parent4b2cbb6fcc1d8c9d9c9b4c183505cad6874eda1c
Fortran: [PR123012] Silent acceptance of unquoted character items

PR libfortran/123012

libgfortran/ChangeLog:

* io/list_read.c (read_character): Add new check when no
quate is provided and the character string is digits only.

gcc/testsuite/ChangeLog:

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