This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

[Patch, fortran] PR80554 [f08] variable redefinition in submodule


The attached bootstraps and regtests on FC23/x86_64 - OK for trunk and
later for 7-branch?

The comment in the patch and the ChangeLog are sufficiently clear that
no further explanation is needed here.

Cheers

Paul

2017-05-15  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-15  Paul Thomas  <pault@gcc.gnu.org>

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

Attachment: submit.diff
Description: Text document


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