Landing: b3d8599685cb

Project / Subsystem

gcc / ada

Date

2026-03-21

Author

Viljar Indus

Commit

b3d8599685cb8e018b636c99d29f32b1c5ef9431

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ada
patch_id
commit_hash
b3d8599685cb8e018b636c99d29f32b1c5ef9431
source_type
github
headline
Implement Error Filtering and Deletion in Ada Compiler
tldr
Adds a new function, Filter_And_Delete_Errors, to allow targeted removal of error messages in the Ada compiler.
author
Viljar Indus
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • ada
  • error handling
  • filtering
  • debugging
discussion_id_link
bugzilla_pr
date
2026-03-21T00:00:00.000Z

This commit introduces Filter_And_Delete_Errors in the Ada compiler, providing a mechanism to selectively remove error messages. The existing Purge_Messages function was renamed to Delete_Error_Msgs_In_Range. This enhancement allows more precise control over which error messages are removed during compilation, improving error reporting and potentially simplifying debugging.