This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/82550] program using submodules fails to link


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

--- Comment #3 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Wed Oct 18 08:55:27 2017
New Revision: 253848

URL: https://gcc.gnu.org/viewcvs?rev=253848&root=gcc&view=rev
Log:
2017-10-18  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/82550
        * trans_decl.c (gfc_get_symbol_decl): Procedure symbols that
        have the 'used_in_submodule' attribute should be processed by
        'gfc_get_extern_function_decl'.

2017-10-18  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/82550
        * gfortran.dg/submodule_30.f08 : New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/submodule_30.f08
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-decl.c
    trunk/gcc/testsuite/ChangeLog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]