diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2020-08-02 10:35:36 +0100 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-08-17 13:20:34 -0300 |
commit | 1f99cd039fdce224b6b413e7dbeb0c45ffc61253 (patch) | |
tree | ac1659e92867d03fa078b9bd3dde06f620d15a6e /gcc/fortran/interface.c | |
parent | 39adaee5a488cdf77d172647b4962c321a8e94a5 (diff) | |
download | gcc-1f99cd039fdce224b6b413e7dbeb0c45ffc61253.zip gcc-1f99cd039fdce224b6b413e7dbeb0c45ffc61253.tar.gz gcc-1f99cd039fdce224b6b413e7dbeb0c45ffc61253.tar.bz2 |
This patch fixes PR96325. See the explanatory comment in the testcase.
2020-08-02 Paul Thomas <pault@gcc.gnu.org>
gcc/fortran
PR fortran/96325
* primary.c (gfc_match_varspec): In the case that a component
reference is added to an intrinsic type component, emit the
error message in this function.
gcc/testsuite/
PR fortran/96325
* gfortran.dg/pr96325.f90: New test.
* gfortran.dg/pr91589.f90: Update error message.
Diffstat (limited to 'gcc/fortran/interface.c')
0 files changed, 0 insertions, 0 deletions