Landing: f0ebef9e3cdb
Project / Subsystem
gcc / gcc/ada
Date
2025-04-25
Author
Piotr Trojanek
Commit
f0ebef9e3cdbaf9dcef06515892e6c5573c1092b
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/ada
- patch_id
- —
- commit_hash
- f0ebef9e3cdbaf9dcef06515892e6c5573c1092b
- source_type
- github
- headline
- Use collective entity kinds for access-to-subprogram types
- tldr
- The Ada front end now consistently uses more general entity kinds for access-to-subprogram types, standardizing internal representations without altering progr…
- author
- Piotr Trojanek
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • ada
- • compiler-internals
- • refactoring
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2025-04-25T00:00:00.000Z
The Ada front end now uses more collective entity kinds, Access_Protected_Kind and Access_Subprogram_Kind, when representing access-to-subprogram types. This change standardizes the internal representation within exp_ch4.adb, sem_attr.adb, and sem_ch3.adb, eliminating less specific kinds. While improving code consistency and maintainability, this internal refactoring does not affect the semantics or behavior of Ada programs.