Landing: b5e8c0587adb
Project / Subsystem
gcc / ada
Date
2026-03-20
Author
Viljar Indus
Commit
b5e8c0587adb83b08587137d43bf80de00bc2d0e
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- ada
- patch_id
- —
- commit_hash
- b5e8c0587adb83b08587137d43bf80de00bc2d0e
- source_type
- github
- headline
- Consolidate Error Message Deletion in Ada Compiler
- tldr
- Refactors error message deletion code in the Ada compiler by extracting common code into a new subprogram, Delete_Error_Msg.
- author
- Viljar Indus
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • ada
- • error handling
- • refactoring
- • code consolidation
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-03-20T00:00:00.000Z
This commit refactors the Ada compiler’s error handling by extracting common code for deleting error messages into a new subprogram, Delete_Error_Msg. This consolidation reduces code duplication and improves maintainability within the errout package. Multiple locations that previously deleted messages directly now use this shared function.