aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/interface.c
diff options
context:
space:
mode:
authorPaul Thomas <pault@gcc.gnu.org>2020-08-02 10:35:36 +0100
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 13:20:34 -0300
commit1f99cd039fdce224b6b413e7dbeb0c45ffc61253 (patch)
treeac1659e92867d03fa078b9bd3dde06f620d15a6e /gcc/fortran/interface.c
parent39adaee5a488cdf77d172647b4962c321a8e94a5 (diff)
downloadgcc-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