[Bug fortran/126210] [17 Regression] Many libgomp.fortran failures by r17-2320-gf935a7a9013d07

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jul 11 17:39:49 GMT 2026


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

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

https://gcc.gnu.org/g:69a2daacba6353d1aab3118415b89afd479c4c76

commit r17-2332-g69a2daacba6353d1aab3118415b89afd479c4c76
Author: Jerry DeLisle <jvdelisle@gcc.gnu.org>
Date:   Sat Jul 11 10:35:29 2026 -0700

    fortran: [PR126210] Restrict host-assoc symbol skip to derived types

    The fix for PR126170 made read_module() skip re-importing any
    symbol already visible via host association from the same
    module, matched only by name.

            PR fortran/126210

    gcc/fortran/ChangeLog:

            * module.cc (read_module): Only skip re-importing a symbol
            already visible via host association from the same module
            when that symbol is a derived type.

    gcc/testsuite/ChangeLog:

            * gfortran.dg/pr126210.f90: New test.


More information about the Gcc-bugs mailing list