Landing: d740ff317f75

Project / Subsystem

gcc / ada

Date

2026-03-12

Author

Viljar Indus

Commit

d740ff317f757d87b9c0a63a26b4d308a271b5a2

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ada
patch_id
commit_hash
d740ff317f757d87b9c0a63a26b4d308a271b5a2
source_type
github
headline
Simplify Implementation of Instantiation Messages in Ada
tldr
The Ada compiler's message generation for template instantiations has been refactored for clarity and reduced code duplication.
author
Viljar Indus
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • ada
  • refactor
  • error handling
  • templates
discussion_id_link
bugzilla_pr
date
2026-03-12T00:00:00.000Z

The Ada compiler’s error reporting for template instantiations has been refactored. This change removes duplicated code and simplifies the control flow within the Error_Msg_N function in errout.adb, improving maintainability and readability of the codebase.