]> gcc.gnu.org Git - gcc.git/commit
Fortran: Allow external function from in an associate block [PR87127]
authorPaul Thomas <pault@gcc.gnu.org>
Mon, 20 Mar 2023 06:13:54 +0000 (06:13 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Mon, 20 Mar 2023 06:13:54 +0000 (06:13 +0000)
commit5889c7bd46a45dc07ffb77ec0d698e18e0b99840
treed5dd5805b9712f90ef22c38f7ee4f02d220068ca
parent09abeb73b8e1d5c83da5d36f391f16481499cb88
Fortran: Allow external function from in an associate block [PR87127]

2023-03-20  Paul Thomas  <pault@gcc.gnu.org>

gcc/fortran
PR fortran/87127
* resolve.cc (check_host_association): If an external function
is typed but not declared explicitly to be external, change the
old symbol from a variable to an external function.

gcc/testsuite/
PR fortran/87127
* gfortran.dg/external_procedures_4.f90: New test.
gcc/fortran/resolve.cc
gcc/testsuite/gfortran.dg/external_procedures_4.f90 [new file with mode: 0644]
This page took 0.065407 seconds and 5 git commands to generate.