Landing: 907b07fbeda4
Project / Subsystem
gcc / ada
Date
2026-02-12
Author
Javier Miranda
Commit
907b07fbeda458b608cf5fd6a4dec1935f4253b9
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- ada
- patch_id
- —
- commit_hash
- 907b07fbeda458b608cf5fd6a4dec1935f4253b9
- source_type
- github
- headline
- Missing initialization of aggregate components in Ada
- tldr
- Fixes a bug in Ada where tagged type conversions of qualified aggregate expressions could leave some components uninitialized.
- author
- Javier Miranda
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • ada
- • bugfix
- • initialization
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-02-12T00:00:00.000Z
This commit fixes a bug in the Ada compiler where tagged type conversions applied to qualified expressions of aggregates could result in some components being left uninitialized at runtime. To ensure full initialization of the tagged object, the fix forces the evaluation of the aggregate expression by capturing its value in a constant.