Landing: bbb168b82dc4
Project / Subsystem
gcc / ada
Date
2026-05-17
Author
Piotr Trojanek
Commit
bbb168b82dc451f214b827aae569488a3e668378
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- ada
- patch_id
- —
- commit_hash
- bbb168b82dc451f214b827aae569488a3e668378
- source_type
- github
- headline
- Simplify code with membership test
- tldr
- The Ada compiler's `Is_Definite_Subtype` function was simplified using a membership test, improving code clarity without altering behavior.
- author
- Piotr Trojanek
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • ada
- • compiler
- • refactoring
- • code quality
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-17T00:00:00.000Z
This change refactors the Is_Definite_Subtype function within the Ada compiler for better readability. The modification replaces an older logical structure with a more concise membership test to determine element kinds. This is purely a code cleanup, and the semantic behavior of the compiler remains unchanged, ensuring no impact on compiled programs.