Landing: 47ec169c00cd
Project / Subsystem
gcc / fortran
Date
2026-07-12
Author
Jerry DeLisle
Commit
47ec169c00cd1da6a9b0cecf871ccfb2a26fd63c
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- fortran
- patch_id
- —
- commit_hash
- 47ec169c00cd1da6a9b0cecf871ccfb2a26fd63c
- source_type
- github
- headline
- Fortran: Fix ICE for deferred-length CHARACTER results via host association
- tldr
- Corrects an internal compiler error when handling deferred-length CHARACTER function results through host association.
- author
- Jerry DeLisle
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • fortran
- • compiler bug
- • ICE
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-12T00:00:00.000Z
An internal compiler error (ICE) in the Fortran compiler has been fixed. The issue occurred in gfc_get_symbol_decl when asserting that a deferred-length string’s length variable resided in the same scope as its symbol. This commit corrects the scope comparison for function results within contained procedures, resolving the ICE for PR95542.