Landing: 7ec6968058b3
Project / Subsystem
gcc / rx
Date
2026-05-12
Author
Yoshinori Sato
Commit
7ec6968058b393882580b18d1268a83776fd7d8f
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- rx
- patch_id
- —
- commit_hash
- 7ec6968058b393882580b18d1268a83776fd7d8f
- source_type
- github
- headline
- RX: Fix infinite-loop on LRA
- tldr
- The RX backend now avoids an infinite loop during LRA by correcting register class definitions and stack frame manipulation.
- author
- Yoshinori Sato
- outcome
- committed
- performance_win
- true
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • rx
- • lra
- • register allocation
- • backend
- • bugfix
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-12T00:00:00.000Z
The RX backend experienced an infinite loop during the LRA (Local Register Allocation) phase due to incorrect register class definitions. This commit fixes the issue by correcting the register class definitions and stack frame manipulation. The changes ensure that the correct code is generated even when the -mlra option is used, especially for double-word operations.