Landing: f6414d2be094
Project / Subsystem
gcc / ada
Date
2026-03-21
Author
Viljar Indus
Commit
f6414d2be0944229c0fac376ce4c92027f5cb91d
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- ada
- patch_id
- —
- commit_hash
- f6414d2be0944229c0fac376ce4c92027f5cb91d
- source_type
- github
- headline
- Refactor Error Handling in Ada Compiler
- tldr
- Refactors error handling code in the Ada compiler by extracting common functionality to erroutc and adding new subprograms for message deletion.
- author
- Viljar Indus
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • ada
- • refactoring
- • error handling
- • code organization
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-03-21T00:00:00.000Z
This commit refactors error handling in the Ada compiler by extracting common code from errout and errutil packages into a new erroutc package. It introduces Delete_Error_And_Continuation_Msgs and Set_Prev_Pointers to consolidate duplicate functionality. This change aims to improve code maintainability and reduce redundancy in error message management within the Ada front-end.