Landing: 574afa290276
Project / Subsystem
gcc / gccrs
Date
2026-06-26
Author
Enes Cevik
Commit
574afa290276ce7bd67e905613d7b77f066b4a87
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gccrs
- patch_id
- —
- commit_hash
- 574afa290276ce7bd67e905613d7b77f066b4a87
- source_type
- github
- headline
- gccrs: intrinsic: Add arith_offset
- tldr
- gccrs implements the `arith_offset` intrinsic for pointer arithmetic.
- author
- Enes Cevik
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • gccrs
- • backend
- • intrinsic
- • pointer-arithmetic
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-06-26T00:00:00.000Z
The arith_offset compiler intrinsic has been implemented in gccrs. This intrinsic allows for moving a pointer forward or backward by a specified number of elements without causing undefined behavior if the pointer goes out of bounds. It has been added to the handler map and type checking rules.