]> git.ipfire.org Git - thirdparty/gcc.git/commit
libgfortran: Fix namelist read.
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Sat, 17 Feb 2024 01:06:37 +0000 (17:06 -0800)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Sat, 17 Feb 2024 15:34:12 +0000 (07:34 -0800)
commitfccfe6625121512f247cb59888e50eb9dcc84409
tree515a294f42cbd02bf3d7711dbd734268ce401060
parent876fa432ef4074053fa65b1855e7d43320515576
libgfortran: Fix namelist read.

PR libfortran/107068

libgfortran/ChangeLog:

* io/list_read.c (read_logical): When looking for a possible
variable name, check for left paren, indicating a possible
array reference.

gcc/testsuite/ChangeLog:

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