Landing: 1fc2416ddc96
Project / Subsystem
gcc / fix
Date
2026-09-21
Author
Alfie Richards
Commit
1fc2416ddc96a2fb1492642823f67e64488a153a
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- fix
- patch_id
- —
- commit_hash
- 1fc2416ddc96a2fb1492642823f67e64488a153a
- source_type
- github
- headline
- riscv: Restore previous --param=riscv-autovec-mode behaviour
- tldr
- Reverts a change that incorrectly modified RISC-V autovectorization mode.
- author
- Alfie Richards
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • riscv
- • bugfix
- • autovectorization
- discussion_id_link
- github:gcc-mirror/gcc#127494
- bugzilla_pr
- —
- date
- 2026-09-21T00:00:00.000Z
This commit restores the intended behavior of the --param=riscv-autovec-mode option for the RISC-V architecture. A recent change had regressions that incorrectly altered the autovectorization mode. The fix ensures that the autovect mode is only overridden if it matches one of the available modes, preventing unintended modifications and regressions in RISC-V code generation.