Landing: 69a2daacba63

Project / Subsystem

gcc / fortran

Date

2026-07-11

Author

Jerry DeLisle

Commit

69a2daacba6353d1aab3118415b89afd479c4c76

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
fortran
patch_id
commit_hash
69a2daacba6353d1aab3118415b89afd479c4c76
source_type
github
headline
Restrict host association symbol skipping to derived types.
tldr
Fixes PR126210 by ensuring host association symbol skipping only applies to derived types.
author
Jerry DeLisle
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • fortran
  • gfortran
  • bugfix
discussion_id_link
bugzilla_pr
date
2026-07-11T00:00:00.000Z

The recent fix for PR126170 in read_module() incorrectly skipped re-importing any symbol already visible via host association from the same module, if matched by name. This commit refines that behavior, ensuring that symbol skipping now only occurs when the matched symbol is specifically a derived type, thus resolving PR126210 and preventing unintended omissions of other symbol types.