Landing: e3c554aee285

Project / Subsystem

gcc / ada

Date

2026-03-24

Author

Gary Dismukes

Commit

e3c554aee2858c82ab861ff404168e7bc4513abe

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ada
patch_id
commit_hash
e3c554aee2858c82ab861ff404168e7bc4513abe
source_type
github
headline
Ada: Implement AI22-0154 (Revised resolution of indexing aspects)
tldr
The Ada compiler now correctly handles indexing aspects, adhering to the revised rules specified in AI22-0154, improving code legality and diagnostics.
author
Gary Dismukes
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • ada
  • aspects
  • indexing
  • language compliance
discussion_id_link
bugzilla_pr
date
2026-03-24T00:00:00.000Z

This commit implements Ada language change AI22-0154, which revises the rules for resolving indexing aspects. The original rules could incorrectly flag code as illegal due to functions inherited from parent types. The new implementation considers indexing profile requirements, allowing the compiler to accept previously rejected code. The compiler now also issues warnings for ineligible candidate entities, and code related to inherited indexing functions has been refactored.