[Bug fortran/125527] Submodule cannot access internal subprograms of ancestor module via host association

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 15 16:31:36 GMT 2026


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

--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-16 branch has been updated by Jerry DeLisle
<jvdelisle@gcc.gnu.org>:

https://gcc.gnu.org/g:1cd19b54fbfedfd1ac49409fa67f20ed84e0e88b

commit r16-9112-g1cd19b54fbfedfd1ac49409fa67f20ed84e0e88b
Author: Paul Thomas <pault@gcc.gnu.org>
Date:   Sun Jun 7 09:11:13 2026 +0100

    Fortran: Fix regression caused by first patch [PR125527]

    2026-06-07  Paul Thomas  <pault@gcc.gnu.org>

    gcc/fortran
            PR fortran/125527
            * class.cc (gfc_find_derived_vtab): Stash module namespace and
            use it as the last place to search for the vtab before building
            a new one.

    (cherry picked from commit 62b2b65c59d3f26e090ae74879df379163fda407)


More information about the Gcc-bugs mailing list