Landing: 836f029d6a0e
Project / Subsystem
gcc / fortran
Date
2026-06-29
Author
Jerry DeLisle
Commit
836f029d6a0ee0e6bd88605da994681498f5cf6a
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- fortran
- patch_id
- —
- commit_hash
- 836f029d6a0ee0e6bd88605da994681498f5cf6a
- source_type
- github
- headline
- Fortran: Fixes finalizer list truncation bug
- tldr
- Corrects a bug in the Fortran compiler that truncated finalizer lists when three or more finalizers were present.
- author
- Jerry DeLisle
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • fortran
- • compiler
- • bugfix
- • data structures
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-06-29T00:00:00.000Z
A linked-list bug in GCC’s Fortran frontend has been resolved, which previously caused the finalizer list of derived types to be truncated when three or more finalizers matched. The fix implements a standard tail-pointer idiom to ensure all matching finalizers are correctly appended and preserved. A test case has been updated to verify this correction.