Landing: 4df3a739f83c
Project / Subsystem
gcc / ada
Date
2026-03-20
Author
Viljar Indus
Commit
4df3a739f83c9415a6eb2f5a33f38bcc1b6b47f0
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- ada
- patch_id
- —
- commit_hash
- 4df3a739f83c9415a6eb2f5a33f38bcc1b6b47f0
- source_type
- github
- headline
- Add Function to Check for Suppressed Loop Warnings
- tldr
- Adds In_Loop_With_Suppressed_Warnings to check if warnings are suppressed within loops, improving Ada compiler diagnostics.
- author
- Viljar Indus
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • ada
- • warnings
- • loops
- • diagnostics
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-03-20T00:00:00.000Z
This commit adds a new function, In_Loop_With_Suppressed_Warnings, to the Ada compiler. This function checks whether warnings are suppressed within loops. This enhancement provides more information when reporting errors, especially within loop constructs where warnings might be intentionally suppressed, clarifying the diagnostic messages for the user.