Fix fortran/93686 -- ICE matching data statements with derived-type pointers.
authorFritz Reese <foreese@gcc.gnu.org>
Mon, 6 Apr 2020 20:14:29 +0000 (16:14 -0400)
committerFritz Reese <foreese@gcc.gnu.org>
Mon, 6 Apr 2020 20:17:07 +0000 (16:17 -0400)
commitd42a2e465d821517819a54f4f613bb6e6443dc05
tree3052cae914d59825bb79bc922c5c1c2707b00330
parent130f703da0c0d7b785d394b17df884379b4aadd9
Fix fortran/93686 -- ICE matching data statements with derived-type pointers.

gcc/fortran/ChangeLog:

2020-04-06  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/93686
* decl.c (gfc_match_data): Handle data matching for derived type
pointers.

gcc/testsuite/ChangeLog:

2020-04-06  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/93686
* gfortran.dg/pr93686_1.f90: New test.
* gfortran.dg/pr93686_2.f90: Likewise.
* gfortran.dg/pr93686_3.f90: Likewise.
* gfortran.dg/pr93686_4.f90: Likewise.
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr93686_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pr93686_2.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pr93686_3.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pr93686_4.f90 [new file with mode: 0644]