FRIDAY, NOVEMBER 27, 2026
risc-v
RISC-V: Fix bootstrap failure in shuffle_bswap_pattern
Fixes a RISC-V bootstrap failure caused by an unannotated fallthrough in shuffle_bswap_pattern.
This commit addresses a bootstrap failure encountered during the RISC-V native build process. An unannotated fallthrough in the shuffle_bswap_pattern function, introduced by a previous commit, caused the compiler to issue warnings that were treated as errors. The fix annotates the intentional fallthrough to prevent this issue.
In Details
The shuffle_bswap_pattern function in RISC-V's configuration logic had an intentional fallthrough that was not marked with gcc_fallthrough(). This caused a -Werror failure during the native RISC-V bootstrap. Marking the fallthrough resolves the build issue.