Landing: 4b6b4e9d3bde
Project / Subsystem
gcc / ada
Date
2026-05-25
Author
Eric Botcazou
Commit
4b6b4e9d3bde8ea71d65a4ae83ac522c8396b919
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- ada
- patch_id
- —
- commit_hash
- 4b6b4e9d3bde8ea71d65a4ae83ac522c8396b919
- source_type
- github
- headline
- Ada: Rejects structural instantiation in generic formal parts.
- tldr
- The Ada compiler now explicitly disallows structural instantiation within generic formal parts, as this feature is currently unsupported.
- author
- Eric Botcazou
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • ada
- • compiler-errors
- • language-features
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-25T00:00:00.000Z
The Ada compiler will now issue an error if a structural instantiation is attempted within a generic formal part. This type of construct, which would effectively represent a formal package, is not supported by the current compiler implementation. This change improves error reporting by preventing unsupported language constructs from being silently or incorrectly handled, providing clearer feedback to developers.