Landing: 67d149f3a75c
Project / Subsystem
gcc / ada
Date
2026-03-24
Author
Bob Duff
Commit
67d149f3a75ce30c62a02409b4c5675b860b6bd4
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- ada
- patch_id
- —
- commit_hash
- 67d149f3a75ce30c62a02409b4c5675b860b6bd4
- source_type
- github
- headline
- Refine conformance warning logic in Ada
- tldr
- This commit simplifies Ada's conformance warning logic by removing redundant checks.
- author
- Bob Duff
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • ada
- • warnings
- • conformance
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-03-24T00:00:00.000Z
This commit refines the logic for issuing conformance warnings in the Ada compiler. It removes redundant checks for -gnatg mode and internal units when determining whether to enable a stricter conformance warning (-gnatw_p). The -gnatg switch already disables -gnatw_p, making the explicit check unnecessary. This simplification streamlines the code and reduces potential confusion.