Landing: 413d90e7515b
Project / Subsystem
gcc / gcc/risc-v
Date
2026-07-06
Author
Jim Lin
Commit
413d90e7515b571bbbf33475695ba042cf5890a6
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/risc-v
- patch_id
- —
- commit_hash
- 413d90e7515b571bbbf33475695ba042cf5890a6
- source_type
- github
- headline
- RISC-V test skip under -Og optimization level.
- tldr
- A RISC-V test is skipped under -Og optimization to avoid a regex matching failure.
- author
- Jim Lin
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • risc-v
- • gcc
- • testsuite
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-06T00:00:00.000Z
A specific test case in the RISC-V test suite, shift-shift-7.c, is now skipped when compiled with the -Og optimization level. This is necessary because at -Og, the expression a << 1 is preserved as a separate slliw instruction. The test’s assembler scanner then encounters this slliw instruction, which matches the slli regex, leading to a failure in the subsequent check for slli times. Skipping the test under -Og avoids this conflict.