Landing: c021c69e0de6
Project / Subsystem
gcc / arc
Date
2026-05-20
Author
Michiel Derhaeg
Commit
c021c69e0de6ba01ecdb63cf8cad0813594b12ae
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- arc
- patch_id
- —
- commit_hash
- c021c69e0de6ba01ecdb63cf8cad0813594b12ae
- source_type
- github
- headline
- arc: Check If The Addend Fits When Referencing Small Data Memory
- tldr
- The compiler now checks if the offset fits when accessing small data memory on ARC, preventing potential linker errors.
- author
- Michiel Derhaeg
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • arc
- • linker
- • bugfix
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-20T00:00:00.000Z
When referencing small data memory on the ARC architecture, the compiler will now check if the offset used fits within the allowed range. This check prevents potential linker errors that could occur when using large offsets. Although such errors are unlikely in practice, the check ensures consistency with other compilers and allows certain tests to pass.