Landing: b7a9ebe63ddb
Project / Subsystem
gcc / gccrs
Date
2026-06-30
Author
Enes Cevik
Commit
b7a9ebe63ddb3112b63ea9ad6629d08a7d8dc47a
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gccrs
- patch_id
- —
- commit_hash
- b7a9ebe63ddb3112b63ea9ad6629d08a7d8dc47a
- source_type
- github
- headline
- gccrs: intrinsic: Add min_align_of_val
- tldr
- gccrs now supports the `min_align_of_val` intrinsic for runtime alignment checks, including Dynamically Sized Types.
- author
- Enes Cevik
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • gccrs
- • rust
- • intrinsic
- • backend
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-06-30T00:00:00.000Z
The gccrs compiler has gained support for the min_align_of_val intrinsic. This intrinsic allows developers to determine the minimum alignment requirements of a value at runtime, even for Dynamically Sized Types (DSTs). The addition involves new handler functions and type-checking rules within the compiler’s backend and type system.