Landing: 2ddf61370d0b
Project / Subsystem
gcc / ada
Date
2026-09-29
Author
Eric Botcazou
Commit
2ddf61370d0bdc4915263dd6f053226eccb0f9c1
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- ada
- patch_id
- —
- commit_hash
- 2ddf61370d0bdc4915263dd6f053226eccb0f9c1
- source_type
- github
- headline
- Ada: Small cleanup in Exp_Aggr.Build_Record_Aggr_Code
- tldr
- Refactors finalization handling in Ada record aggregate expansion.
- author
- Eric Botcazou
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • ada
- • compiler refactor
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-29T00:00:00.000Z
This commit simplifies the Ada compiler’s code generation for record aggregates by removing outdated finalization handling logic. The Generate_Finalization_Actions procedure, which was tied to an old implementation, has been removed. Instead, the Initialize primitive for controlled types is now called directly at the appropriate point in Build_Record_Aggr_Code for extension aggregates.