Landing: 9c91c880bf31
Project / Subsystem
gcc / gcc/ada
Date
2026-09-22
Author
Eric Botcazou
Commit
9c91c880bf3158d54be74614a050838b5448042c
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/ada
- patch_id
- —
- commit_hash
- 9c91c880bf3158d54be74614a050838b5448042c
- source_type
- github
- headline
- Ada: Fix finalization not performed correctly with mutably tagged types
- tldr
- Corrects Ada finalization for mutably tagged types and optimizes boilerplate generation.
- author
- Eric Botcazou
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • ada
- • compiler
- • bugfix
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-22T00:00:00.000Z
This commit addresses an issue where Ada finalization was not correctly performed for descendants of mutably tagged types that had controlled components. It also prevents the generation of unnecessary finalization boilerplate code for class-wide objects of regular tagged types. Additional fixes improve Might_Have_Tasks and Find_Type_Name.