Landing: 34cd7e93701e
Project / Subsystem
gcc / mmix
Date
2026-09-10
Author
Richard Sandiford
Commit
34cd7e93701e5b0c48f25f1cfbf0a6a9ee20ae76
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- mmix
- patch_id
- —
- commit_hash
- 34cd7e93701e5b0c48f25f1cfbf0a6a9ee20ae76
- source_type
- github
- headline
- mmix: Fix warning about EH_RETURN_DATA_REGNO
- tldr
- MMIX target now uses unsigned integers for exception handling return registers to match target-independent code expectations, fixing build warnings.
- author
- Richard Sandiford
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • mmix
- • exception handling
- • compiler warning
- • build
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-10T00:00:00.000Z
This commit resolves compiler warnings on the MMIX target related to signedness mismatches when handling exception handling return registers. Target-independent code expects EH_RETURN_DATA_REGNO to return an unsigned int, but the MMIX backend was returning an int. The change makes mmix_eh_return_data_regno return unsigned int and adjusts related variables and loops to use unsigned types where appropriate, preventing sign-compare warnings and ensuring compatibility with the core exception handling code. This fix is necessary for builds with config-list.mk.