Landing: 51a122bf9bf8
Project / Subsystem
gcc / gcc
Date
2026-05-28
Author
Jeff Law
Commit
51a122bf9bf8f01ddfd53fe9e527e93b2ef99ffb
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc
- patch_id
- —
- commit_hash
- 51a122bf9bf8f01ddfd53fe9e527e93b2ef99ffb
- source_type
- github
- headline
- Fix expected testsuite output after ext-dce changes
- tldr
- The RISC-V testsuite is updated to accommodate changes in dead code elimination that may transform sign extensions into zero extensions.
- author
- Jeff Law
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • risc-v
- • testsuite
- • optimization
- • dead code elimination
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-28T00:00:00.000Z
Recent improvements to GCC’s extended dead code elimination (ext-dce) pass can now transform sign extensions into zero extensions in some cases. This affects RISC-V testsuite results because tests were expecting signed loads but are now seeing unsigned loads. The testsuite is updated to allow for either signed or unsigned loads in the affected tests.