Landing: 143a0d9ec6f8

Project / Subsystem

gcc / ada

Date

2026-03-02

Author

Javier Miranda

Commit

143a0d9ec6f814cf49ca116780bfe67ba6307486

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ada
patch_id
commit_hash
143a0d9ec6f814cf49ca116780bfe67ba6307486
source_type
github
headline
Ada: Correct error message on use of 'Result with wrong prefix.
tldr
Fixes an incorrect error message related to the 'Result attribute with a wrong prefix.
author
Javier Miranda
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • ada
  • error message
  • attributes
  • bugfix
discussion_id_link
bugzilla_pr
date
2026-03-02T00:00:00.000Z

An incorrect error message was being displayed when using the ‘Result attribute with the wrong prefix. This commit renames Is_Access_Subprogram_Wrapper to Is_Access_To_Subprogram_Wrapper and updates calls to this function throughout the code. It also adds an assertion and modifies the analysis of the Attribute_Result to accurately report the expected prefix.