Landing: 533469820612

Project / Subsystem

gcc / ada

Date

2026-05-18

Author

Eric Botcazou

Commit

53346982061203267a3dbc3cfc494a3a4b1c1067

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ada
patch_id
commit_hash
53346982061203267a3dbc3cfc494a3a4b1c1067
source_type
github
headline
Ada accessibility check function renamed for clarity
tldr
A function that checks accessibility in Ada has been renamed to better reflect its broader use beyond just parameters, improving code readability.
author
Eric Botcazou
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • ada
  • refactoring
  • readability
discussion_id_link
bugzilla_pr
date
2026-05-18T00:00:00.000Z

The function Apply_Accessibility_Check_For_Parameter in the Ada front end has been renamed to Apply_Accessibility_Check_For_Conversion. This renaming reflects that the function is also used for Ada 2012’s stand-alone objects of anonymous access types, not solely for access parameters. The change improves the accuracy and clarity of the codebase by giving the function a name that encompasses all its use cases.