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/80554] [f08] variable redefinition in submodule


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

--- Comment #5 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Tue May 16 20:09:02 2017
New Revision: 248129

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

        PR fortran/80554
        * decl.c (build_sym): In a submodule allow overriding of host
        associated symbols from the ancestor module with a new
        declaration.

2017-05-16  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/80554
        * gfortran.dg/submodule_29.f08: New test.


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