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
committerPaul Thomas <pault@gcc.gnu.org>2020-08-02 10:35:36 +0100
commite41da82345fb01c4c2641c979a94a975d15312ab (patch)
tree30cf62ec607106472e2eb2c9a21735b1894fd13f /gcc/fortran/interface.c
parent4967ca2f8b2e13324258786a90c46f62abce2b7d (diff)
downloadgcc-e41da82345fb01c4c2641c979a94a975d15312ab.zip
gcc-e41da82345fb01c4c2641c979a94a975d15312ab.tar.gz
gcc-e41da82345fb01c4c2641c979a94a975d15312ab.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