Landing: cccd9fca61c7
Project / Subsystem
gcc / gccrs
Date
2026-07-15
Author
Yap Zhi Heng
Commit
cccd9fca61c7a73a1d6017c38d8567581cf30370
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gccrs
- patch_id
- —
- commit_hash
- cccd9fca61c7a73a1d6017c38d8567581cf30370
- source_type
- github
- headline
- Define constructor for LoadedCrate struct in gccrs
- tldr
- gccrs adds a constructor for `LoadedCrate` to fix C++20 aggregate initialization issues.
- author
- Yap Zhi Heng
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • rust
- • compiler
- • c++
- • compatibility
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-15T00:00:00.000Z
A C++20 compatibility issue with aggregate initialization for the LoadedCrate struct in gccrs has been resolved by adding an explicit constructor. This ensures that LoadedCrate can be properly initialized in C++20 environments, maintaining the compiler’s stability.