Landing: 5786caddb307
Project / Subsystem
gcc / gccrs
Date
2026-08-01
Author
Yap Zhi Heng
Commit
5786caddb307fbe61fb3b6c1a54699336270aa8f
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gccrs
- patch_id
- —
- commit_hash
- 5786caddb307fbe61fb3b6c1a54699336270aa8f
- source_type
- github
- headline
- gccrs: Implement basic support for #[repr(simd)]
- tldr
- Adds type-checking support for #[repr(simd)] structs in gccrs.
- author
- Yap Zhi Heng
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • gccrs
- • rust
- • simd
- • type-checking
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-01T00:00:00.000Z
gccrs now includes basic type-checking for structs annotated with #[repr(simd)]. This change allows the compiler to understand the SIMD representation for these types, although the actual compilation of such structs is still handled as regular structs. The implementation is specific to Rust version 1.49.0, as later versions (1.50.0+) use a different internal representation for #[repr(simd)] structs.