diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2020-12-26 16:44:24 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2020-12-26 16:44:24 +0000 |
commit | c7256c8260afa313e019fd531574ad33ec49b9f6 (patch) | |
tree | 268a0bf07007205e5b2445f2f53133891f887fee /gcc/fortran/resolve.c | |
parent | 0175d45d14b1f9ebc4c15ea5bafcda655c37fc35 (diff) | |
download | gcc-c7256c8260afa313e019fd531574ad33ec49b9f6.zip gcc-c7256c8260afa313e019fd531574ad33ec49b9f6.tar.gz gcc-c7256c8260afa313e019fd531574ad33ec49b9f6.tar.bz2 |
Fortran: Correction to recent patch in light of comments [PR98022].
2020-12-26 Paul Thomas <pault@gcc.gnu.org>
gcc/fortran
PR fortran/98022
* data.c (gfc_assign_data_value): Throw an error for inquiry
references. Follow with corrected code that would provide the
expected result and provides clean error recovery.
gcc/testsuite/
PR fortran/98022
* gfortran.dg/data_inquiry_ref.f90: Change to dg-compile and
add errors for inquiry references.
Diffstat (limited to 'gcc/fortran/resolve.c')
0 files changed, 0 insertions, 0 deletions