Landing: c9f26edda05b
Project / Subsystem
gcc / gcc/fortran
Date
2026-05-23
Author
Paul Thomas
Commit
c9f26edda05b045d98c87d8c5dc0163f2cd0b652
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/fortran
- patch_id
- —
- commit_hash
- c9f26edda05b045d98c87d8c5dc0163f2cd0b652
- source_type
- github
- headline
- Fortran: Fix ICE in allocatable finalization expression
- tldr
- Fixes an internal compiler error (ICE) in Fortran when finalizing allocatable variables before assignment.
- author
- Paul Thomas
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • fortran
- • bugfix
- • compiler
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-23T00:00:00.000Z
This commit fixes an ICE in the Fortran front end that occurred during the finalization of allocatable variables before assignment. The fix ensures that gfc_conv_expr is called with the se.descriptor_only flag, preventing an implicit call to set_factored_descriptor_value. A new test case is added to verify the fix.