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 <[email protected]>: https://gcc.gnu.org/g:69a2daacba6353d1aab3118415b89afd479c4c76 commit r17-2332-g69a2daacba6353d1aab3118415b89afd479c4c76 Author: Jerry DeLisle <[email protected]> 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.
