Landing: 4616bb2295a8
Project / Subsystem
gcc / gcc
Date
2026-06-07
Author
Jeff Law
Commit
4616bb2295a8437582df7ee1bbc1436262d39ac1
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc
- patch_id
- —
- commit_hash
- 4616bb2295a8437582df7ee1bbc1436262d39ac1
- source_type
- github
- headline
- Building for SH restores after bswap related changes
- tldr
- GCC can now build for the SuperH architecture again after bswap changes, which previously caused compile-time failures on that target.
- author
- Jeff Law
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • architecture-support
- • compiler-build
- • superh
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-06-07T00:00:00.000Z
Recent changes in GCC led to compile-time errors for the SuperH (SH) architecture due to bswap patterns failing if no new pseudos could be created. This prevented successful builds for the SH target. The issue has been resolved by moving the can_create_pseudos_p check directly into the bswapsi2 pattern’s condition, rather than causing a hard failure. This adjustment ensures that the bswap pattern gracefully handles situations where pseudos cannot be created, restoring the ability to build GCC for the SH architecture.