[Bug fortran/87127] External function not recognised from within an associate block

pault at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 24 07:28:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87127

--- Comment #7 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Wed Apr 24 07:27:42 2019
New Revision: 270532

URL: https://gcc.gnu.org/viewcvs?rev=270532&root=gcc&view=rev
Log:
2019-04-24  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/87127
        * resolve.c (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.

2019-04-24  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/87127
        * gfortran.dg/external_procedures_4.f90: New test.

Added:
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/external_procedures_4.f90
Modified:
    branches/gcc-8-branch/gcc/fortran/ChangeLog
    branches/gcc-8-branch/gcc/fortran/resolve.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list