Landing: ee5bf81d7816
Project / Subsystem
gcc / aarch64
Date
2025-03-03
Author
Wilco Dijkstra
Commit
ee5bf81d7816b0b6c54788f195295ba448cda49e
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- aarch64
- patch_id
- —
- commit_hash
- ee5bf81d7816b0b6c54788f195295ba448cda49e
- source_type
- github
- headline
- AArch64: Disable outline atomics with -mcmodel=large
- tldr
- Outline atomics are now disabled by default when using AArch64's -mcmodel=large.
- author
- Wilco Dijkstra
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • aarch64
- • atomics
- • code model
- • compiler options
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2025-03-03T00:00:00.000Z
This change disables the outline atomics feature on AArch64 when the -mcmodel=large option is used. Outline atomics are not designed to function correctly with the large code model, which affects how code addresses are generated. The compiler will now automatically turn off outline atomics if -mcmodel=large is active and issue a warning if the outline atomics option was explicitly enabled by the user. Documentation has been updated to reflect this change.