Landing: acc245a1aebc

Project / Subsystem

gcc / ada

Date

2026-05-16

Author

Eric Botcazou

Commit

acc245a1aebc522c644f21f0d119b82c5971b49f

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ada
patch_id
commit_hash
acc245a1aebc522c644f21f0d119b82c5971b49f
source_type
github
headline
Ada accessibility function `Effective_Extra_Accessibility` removed
tldr
The redundant `Effective_Extra_Accessibility` function has been removed from the Ada front end, as `Extra_Accessibility` now handles object renamings automatic…
author
Eric Botcazou
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • ada
  • refactoring
  • code-cleanup
  • accessibility
discussion_id_link
bugzilla_pr
date
2026-05-16T00:00:00.000Z

The Effective_Extra_Accessibility function has been removed from the Ada front end of GCC. This function was redundant because the computation of accessibility levels was not consistently looking through object renamings when extra accessibility objects were used. The Extra_Accessibility function has been updated to automatically handle object renamings, thus eliminating the need for a separate ‘effective’ function and simplifying the accessibility logic.