Landing: fb178543e19a
Project / Subsystem
gcc / xtensa
Date
2026-09-04
Author
Takayuki 'January June' Suwa
Commit
fb178543e19ac88d254aa255cbe4376dd47701b7
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- xtensa
- patch_id
- —
- commit_hash
- fb178543e19ac88d254aa255cbe4376dd47701b7
- source_type
- github
- headline
- xtensa: Revise zero-call-used-regs to handle cases with no address registers.
- tldr
- xtensa: Fix -fzero-call-used-regs for cases where no address registers are cleared.
- author
- Takayuki 'January June' Suwa
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • xtensa
- • optimization
- • bugfix
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-04T00:00:00.000Z
The xtensa implementation of -fzero-call-used-regs has been revised to correctly handle scenarios where no address registers are cleared. Previously, this could lead to a crash. The updated code now uses register A9 to clear other non-GP registers when no address registers are available, and a new test case has been added to verify this fix.