Landing: f5c0cda82b6a
Project / Subsystem
gcc / ada
Date
2026-09-23
Author
Eric Botcazou
Commit
f5c0cda82b6aa48c66b9ca9e997beebc22a7770d
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- ada
- patch_id
- —
- commit_hash
- f5c0cda82b6aa48c66b9ca9e997beebc22a7770d
- source_type
- github
- headline
- Ada: Prevent crash in generic unit membership test resolution
- tldr
- Adds a guard to prevent a crash during membership test resolution in Ada generic units.
- author
- Eric Botcazou
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • ada
- • compiler
- • bugfix
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-23T00:00:00.000Z
This commit adds a missing guard in the Ada compiler’s semantic resolution logic for membership tests within generic units. This prevents a crash that could occur when checking the runtime size for generic types.