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/79676] [submodules] Compilation/linking error when module procedures PRIVATE


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

--- Comment #3 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Sat Mar 18 12:38:02 2017
New Revision: 246256

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

        PR fortran/79676
        * module.c (mio_symbol_attribute): Remove reset of the flag
        'no_module_procedures'.
        (check_for_module_procedures): New function. Move declaration
        of 'no_module_procedures' to above it.
        (gfc_dump_module): Traverse namespace calling new function.

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

        PR fortran/79676
        * gfortran.dg/submodule_28.f08 : New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/submodule_28.f08
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/module.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]