https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126210
--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-16 branch has been updated by Jerry DeLisle <[email protected]>: https://gcc.gnu.org/g:aff1672005353f1be41e6cc2423bf0647e2222bc commit r16-9260-gaff1672005353f1be41e6cc2423bf0647e2222bc 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. (cherry picked from commit 69a2daacba6353d1aab3118415b89afd479c4c76)
