GCC Newspaper
JUNE 15, 2026
Date
/
Architectures
Components
Topics
News & Policy
Other
gcc

Adjust expected output after recent jump threader change.

Updates a test case for RISC-V vector extensions to match the new output after a jump threader change.

This commit adjusts the expected output of a test case (avl_single-26.c) for RISC-V vector extensions (RVV) due to a recent change in the jump threader optimization. The jump threader change resulted in less jump threading and block duplication, leading to one fewer vsetvl instruction in the generated code. This commit updates the test case to reflect the current expected output.

In Details

The jump threader change (Richi's reversion) caused a regression on avl_single-26.c. Less jump threading leads to less block duplication and one less vsetvl instruction. The testsuite is updated to match the new expectations.

For Context

This commit updates a test case for the RISC-V architecture in the GCC compiler. RISC-V is a modern, open-source instruction set architecture (ISA). Jump threading is an optimization technique used by compilers to improve performance by eliminating redundant jumps in the code. A recent change to the jump threading optimization affected the output of a specific test case related to RISC-V vector extensions. This commit updates the test case to ensure it remains accurate.

Filed Under: risc-vrvvtestsuiteoptimization