Landing: 710581c80b2f
Project / Subsystem
gcc / or1k
Date
2026-05-03
Author
H.J. Lu
Commit
710581c80b2fd39fa7a8674eccf7dca8cbc7c9c0
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- or1k
- patch_id
- —
- commit_hash
- 710581c80b2fd39fa7a8674eccf7dca8cbc7c9c0
- source_type
- github
- headline
- or1k: Allow SImode for the condition flag register.
- tldr
- Fixes internal compiler errors on or1k by allowing SImode for the condition flag register.
- author
- H.J. Lu
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • or1k
- • bugfix
- • target
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-03T00:00:00.000Z
This commit resolves an internal compiler error (ICE) on the OpenRISC (or1k) architecture related to subregister validation. Previous changes to subreg validation and mode changing triggered an ICE when the condition flag register was used in SImode. This commit updates or1k_hard_regno_mode_ok to allow the condition flag register to be used in SImode, resolving the ICEs. It was tested with an or1k Linux cross-compiler for or1k glibc builds.