Fortran] PR93309 – permit repeated 'implicit none(external)'
authorTobias Burnus <tobias@codesourcery.com>
Tue, 21 Jan 2020 12:42:11 +0000 (13:42 +0100)
committerTobias Burnus <tobias@codesourcery.com>
Tue, 21 Jan 2020 12:42:11 +0000 (13:42 +0100)
commitb31f80231df9ce6d9b50c62d28b8d2a4654ef564
tree4fed8ba69e42c7298df480644c45beb4a0fdfcdc
parent01e9f1812c72c940172700971179d7726b7a3050
Fortran] PR93309 – permit repeated 'implicit none(external)'

        PR fortran/93309
        * interface.c (gfc_procedure_use): Also check parent namespace for
        'implict none (external)'.
        * symbol.c (gfc_get_namespace): Don't set has_implicit_none_export
        to parent namespace's setting.

        PR fortran/93309
        * gfortran.dg/external_implicit_none_2.f90: New.
gcc/fortran/ChangeLog
gcc/fortran/interface.c
gcc/fortran/symbol.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/external_implicit_none_2.f90 [new file with mode: 0644]