[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 20:11:47 GMT 2026
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
<jvdelisle@gcc.gnu.org>:
https://gcc.gnu.org/g:aff1672005353f1be41e6cc2423bf0647e2222bc
commit r16-9260-gaff1672005353f1be41e6cc2423bf0647e2222bc
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.
(cherry picked from commit 69a2daacba6353d1aab3118415b89afd479c4c76)
More information about the Gcc-bugs
mailing list