Landing: f935a7a9013d
Project / Subsystem
gcc / fortran
Date
2026-07-10
Author
Jerry DeLisle
Commit
f935a7a9013d0748ba1f42dc532df3d278707bf6
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- fortran
- patch_id
- —
- commit_hash
- f935a7a9013d0748ba1f42dc532df3d278707bf6
- source_type
- github
- headline
- Fortran: [PR126170] Fix LTO ICE in copy_function_or_variable
- tldr
- Fixes a Link-Time Optimization (LTO) Internal Compiler Error (ICE) in gfortran related to module symbol handling.
- author
- Jerry DeLisle
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • fortran
- • LTO
- • compiler error
- • bugfix
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-10T00:00:00.000Z
This commit resolves a Link-Time Optimization (LTO) Internal Compiler Error (ICE) in the gfortran compiler, addressing PR126170. The error occurred when a contained procedure within a Fortran module redundantly used another module that was already visible through host association. This led to the module reader creating duplicate derived type definitions. The fix ensures that modules are not re-imported if their symbols are already accessible via host association.