On 6/19/24 9:43 PM, Christoph Müllner wrote:
Hi Jeff,
the test should probably also be skipped on -Oz:
=== gcc: Unexpected fails for rv64imafdc lp64d medlow ===
FAIL: gcc.target/riscv/zbs-ext-2.c -Oz scan-assembler-times andi\t 1
FAIL: gcc.target/riscv/zbs-ext-2.c -Oz scan-assembler-times andn\t 1
FAIL: gcc.target/riscv/zbs-ext-2.c -Oz scan-assembler-times li\t 1
Thanks. I'll double-check. I must admit that when I added -Os I was
surprised I didn't need -Oz, or maybe I just mis-read the results.
jeff