Landing: 1cf8c5913bfe

Project / Subsystem

gcc / fortran

Date

2026-05-23

Author

Jerry DeLisle

Commit

1cf8c5913bfe8016b8b2436cc17a7577be1b295f

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
fortran
patch_id
commit_hash
1cf8c5913bfe8016b8b2436cc17a7577be1b295f
source_type
github
headline
fortran: Module-contained PRIVATE procedures must have global ELF linkage
tldr
Fortran's PRIVATE module procedures now have global ELF linkage, allowing submodules to access them via host association.
author
Jerry DeLisle
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • fortran
  • modules
  • ELF
  • linking
  • visibility
discussion_id_link
bugzilla_pr
date
2026-05-23T00:00:00.000Z

Fortran module-contained PRIVATE procedures are now marked with global ELF linkage and hidden visibility. This change allows submodules compiled as separate translation units to reach these procedures through host association. This aligns the treatment of PRIVATE procedures with the existing treatment of module variables.