Landing: a89a3102f6aa
Project / Subsystem
gcc / ada
Date
2026-01-15
Author
Javier Miranda
Commit
a89a3102f6aa15c6c4b1305341e6bdb57591f45b
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- ada
- patch_id
- —
- commit_hash
- a89a3102f6aa15c6c4b1305341e6bdb57591f45b
- source_type
- github
- headline
- Ada now supports C++ constructor calls in array aggregates
- tldr
- Adds support for calling C++ constructors within Ada array aggregates.
- author
- Javier Miranda
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • ada
- • c++
- • interoperability
- • constructor
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-01-15T00:00:00.000Z
This commit introduces support for calling C++ constructors within Ada array aggregates. This enhancement allows for more seamless integration between Ada and C++ code, particularly when initializing arrays with objects that require C++-style construction. The change modifies exp_ch5.adb to handle internally generated initializations that invoke C++ constructors.