Landing: 9d46e6d1712a
Project / Subsystem
gcc / ada
Date
2026-05-06
Author
Viljar Indus
Commit
9d46e6d1712a65f765be459df249cc76474e1dca
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- ada
- patch_id
- —
- commit_hash
- 9d46e6d1712a65f765be459df249cc76474e1dca
- source_type
- github
- headline
- Ada removes conversion of ignored pragmas to if-statements
- tldr
- The Ada front end no longer transforms ignored pragmas into if-statements, simplifying their handling.
- author
- Viljar Indus
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • ada
- • refactoring
- • compiler internals
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-06T00:00:00.000Z
The Ada front end now directly handles ignored pragmas rather than converting them into if statements with statically false conditions and null bodies. This change streamlines the compiler’s internal representation, making the code for detecting and removing these pragmas simpler and more consistent with other ghost code removals. This refactoring contributes to clearer code within the Ada compiler components.