Fortran: Fix calls to associate name typebound subroutines [PR98897].
authorPaul Thomas <pault@gcc.gnu.org>
Thu, 11 Feb 2021 13:24:50 +0000 (13:24 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Thu, 11 Feb 2021 13:25:04 +0000 (13:25 +0000)
commitff6903288d96aa1d28ae4912b1270985475f3ba8
treee881839a198422bcdc2c84c10fc9fdc0188a7689
parent22a6d99d0a0d383856440ea479b4a9edabf23961
Fortran: Fix calls to associate name typebound subroutines [PR98897].

2021-02-11  Paul Thomas  <pault@gcc.gnu.org>

gcc/fortran
PR fortran/98897
* match.c (gfc_match_call): Include associate names as possible
entities with typebound subroutines. The target needs to be
resolved for the type.

gcc/testsuite/
PR fortran/98897
* gfortran.dg/typebound_call_32.f90: New test.
gcc/fortran/match.c
gcc/testsuite/gfortran.dg/typebound_call_32.f90 [new file with mode: 0644]