Landing: 83c53762544f
Project / Subsystem
gcc / risc-v
Date
2026-09-10
Author
Pan Li
Commit
83c53762544f1f7db2b0840cff6a957e7ea47a14
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- risc-v
- patch_id
- —
- commit_hash
- 83c53762544f1f7db2b0840cff6a957e7ea47a14
- source_type
- github
- headline
- RISC-V: Add tests for widening instruction ICE
- tldr
- Adds test cases to expose and verify fixes for compiler internal errors with RISC-V widening instructions.
- author
- Pan Li
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • risc-v
- • vector
- • test
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-10T00:00:00.000Z
This commit introduces a suite of test cases for the RISC-V Vector (RVV) extension, specifically targeting an internal compiler error (ICE) that occurred with widening instructions. The ICE was triggered when the destination and source registers of a widening instruction had the same number of registers, leading to incorrect assertion failures in the compiler’s reload pass. These new tests ensure that such scenarios are correctly handled and prevent regressions.