Landing: 3d03d27fee89
Project / Subsystem
gcc / ada
Date
2026-03-20
Author
Viljar Indus
Commit
3d03d27fee8905174c74c62ee6876f54d6af3b0c
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- ada
- patch_id
- —
- commit_hash
- 3d03d27fee8905174c74c62ee6876f54d6af3b0c
- source_type
- github
- headline
- Simplify Suppressed Warning Checks in Ada Compiler
- tldr
- Introduces Warning_Is_Suppressed to simplify checks for suppressed warnings in the Ada compiler.
- author
- Viljar Indus
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • ada
- • warnings
- • refactoring
- • code simplification
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-03-20T00:00:00.000Z
This commit simplifies how the Ada compiler checks for suppressed warnings by introducing a new subprogram, Warning_Is_Suppressed. This function provides a more straightforward way to determine if a warning has been suppressed, without needing to know the specific reason for the suppression. This change improves code readability and maintainability in the error handling component of the Ada front-end.