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, 12 Dec 2020 14:01:08 +0000 (14:01 +0000)
commitff2dfdef2f2e01c579dd280daa1d81fbeb4d7ac5
treede38e472022e77f57b153b0bab5c7a31ea39c4c2
parent0bd675183d94e6bca100c3aaaf87ee9676fb3c26
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.
gcc/fortran/data.c
gcc/testsuite/gfortran.dg/data_inquiry_ref.f90 [new file with mode: 0644]