Landing: 8ab3f30e7af0
Project / Subsystem
gcc / ada
Date
2026-03-06
Author
Eric Botcazou
Commit
8ab3f30e7af08c56832a27751fad1594f91eaf10
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- ada
- patch_id
- —
- commit_hash
- 8ab3f30e7af08c56832a27751fad1594f91eaf10
- source_type
- github
- headline
- Ada: Fix assertion failure for improper aggregate operation.
- tldr
- The Ada compiler no longer crashes when encountering an improper aggregate operation.
- author
- Eric Botcazou
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • ada
- • aggregates
- • bugfix
- • compiler crash
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-03-06T00:00:00.000Z
The Ada compiler could trigger an assertion failure when dealing with improper aggregate operations. This commit fixes this bug by adding a check to ensure that the compiler only accesses the Entity of a node when it is valid to do so. This prevents a compiler crash and makes the Ada compiler more robust.