Landing: 1af4f3759b49
Project / Subsystem
gcc / ada
Date
2026-03-16
Author
Eric Botcazou
Commit
1af4f3759b49599d3bb5a966d3002c164ff86797
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- ada
- patch_id
- —
- commit_hash
- 1af4f3759b49599d3bb5a966d3002c164ff86797
- source_type
- github
- headline
- Ada: Fix assertion failure in entry barrier with object notation calls
- tldr
- Prevents an assertion failure when calling a subprogram using object notation within an Ada entry barrier.
- author
- Eric Botcazou
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • ada
- • assertion
- • bugfix
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-03-16T00:00:00.000Z
This commit resolves an assertion failure that occurred when a subprogram was called using object notation within an Ada entry barrier. The issue arose because the Original_Record_Component field was accessed without verifying its existence, leading to the assertion failure. By adding a check to ensure the field is valid before accessing it, this commit prevents the failure and improves the stability of the compiler.