Landing: 04f9f5a40c2e
Project / Subsystem
gcc / Ada
Date
2026-07-30
Author
Eric Botcazou
Commit
04f9f5a40c2e11a49c8fff64b90f5cd042fbdcc3
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- Ada
- patch_id
- —
- commit_hash
- 04f9f5a40c2e11a49c8fff64b90f5cd042fbdcc3
- source_type
- github
- headline
- Ada: Fix bogus error on Unrestricted_Access of overloaded subprograms
- tldr
- Corrects an error in analyzing the GNAT-specific Unrestricted_Access attribute for overloaded Ada subprograms.
- author
- Eric Botcazou
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • Ada
- • GNAT
- • attribute
- • overloading
- • bugfix
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-30T00:00:00.000Z
This commit addresses a bug in the Ada compiler’s analysis of the GNAT-specific ‘Unrestricted_Access attribute when applied to overloaded subprograms. Previously, the Analyze_Attribute function incorrectly generated an error in this scenario. The fix aligns the handling of Unrestricted_Access with that of other access attributes like [Unchecked_]Access, resolving the bogus error.