Landing: debafaf88c2a
Project / Subsystem
gcc / ada
Date
2025-12-05
Author
Marc Poulhiès
Commit
debafaf88c2a32b12a09ed6779b2c669eb886c01
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- ada
- patch_id
- —
- commit_hash
- debafaf88c2a32b12a09ed6779b2c669eb886c01
- source_type
- github
- headline
- Ada: Drop renamings when dropping an unused subprogram.
- tldr
- The Ada compiler ensures that renamings of unused subprograms are also dropped during unnesting, preventing potential issues.
- author
- Marc Poulhiès
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • ada
- • compiler
- • bugfix
- • optimization
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2025-12-05T00:00:00.000Z
The Ada compiler now tracks subprogram renamings during unnesting and ensures that these renamings are dropped when the subprogram is determined to be unused. This change prevents potential issues related to dangling references to renamed subprograms that are no longer reachable.