]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fortran: Enable inquiry references in data statements [PR98022].
authorPaul Thomas <pault@gcc.gnu.org>
Sat, 12 Dec 2020 14:01:08 +0000 (14:01 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sat, 23 Jan 2021 10:44:22 +0000 (10:44 +0000)
commit87472f174299fba9b17fdbcc016818587919bd12
tree36ad64506659e12c60253f8215cd7b3bdcb4cd9b
parent43ba0827f32780957b474425b6a2621a89c4c78a
Fortran: Enable inquiry references in data statements [PR98022].

2020-12-12  Paul Thomas  <pault@gcc.gnu.org>

gcc/fortran
PR fortran/98022
* data.c (gfc_assign_data_value): Handle inquiry references in
the data statement object list.

gcc/testsuite/
PR fortran/98022
* gfortran.dg/data_inquiry_ref.f90: New test.

(cherry picked from commit ff2dfdef2f2e01c579dd280daa1d81fbeb4d7ac5)
gcc/fortran/data.c
gcc/testsuite/gfortran.dg/data_inquiry_ref.f90 [new file with mode: 0644]