On 5/21/25 9:16 PM, Dongyan Chen wrote:
Failed testcases occurred in the regression test of gcc: cset-sext-sfb.c failed
the -Oz test, and zba-slliuw.c failed the -Og test.
This patch solves the problem by skipping the optimization.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/cset-sext-sfb.c: Skip for -Oz.
* gcc.target/riscv/zba-slliuw.c: Skip for -Og.
THanks. I've pushed this to the trunk.
Note when disabling tests for particular options it's often helpful to
indicate why the test doesn't work in a particular configuration. It's
not strictly necessary, but can simplify the review process if we know
why something isn't expected to work.
jeff