Landing: e566a03e17ce
Project / Subsystem
gcc / ada
Date
2026-09-29
Author
Eric Botcazou
Commit
e566a03e17cee6d346c1d57e6198e4b712709e75
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- ada
- patch_id
- —
- commit_hash
- e566a03e17cee6d346c1d57e6198e4b712709e75
- source_type
- github
- headline
- Ada: Add support for static comparison of aggregates of discrete array types
- tldr
- Enables compile-time comparison for Ada discrete array aggregates.
- author
- Eric Botcazou
- outcome
- committed
- performance_win
- true
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • ada
- • optimization
- • compile-time evaluation
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-29T00:00:00.000Z
This change extends Ada’s compile-time evaluation capabilities to support static comparisons of aggregates for all discrete array types, not just strings. It introduces new functions and modifies existing ones in sem_eval.adb to handle these comparisons, enabling optimizations and checks for constant array expressions.