]> gcc.gnu.org Git - gcc.git/commitdiff
[committed] [RISC-V] Skip zbs-ext-2.c for -Oz as well
authorJeff Law <jlaw@ventanamicro.com>
Sat, 22 Jun 2024 16:39:51 +0000 (10:39 -0600)
committerJeff Law <jlaw@ventanamicro.com>
Sat, 22 Jun 2024 16:39:51 +0000 (10:39 -0600)
> 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
Yea.  Just re-ran thing and sure enough we need to skip -Oz as well.  So
committing the obvious change....

gcc/testsuite/

* gcc.target/riscv/zbs-ext-2.c: Also skip for -Oz.

gcc/testsuite/gcc.target/riscv/zbs-ext-2.c

index 690dd722bce99c7b3630ef320d68911bd52942a2..6d11543d92026f9a67419504363915bdbf1c1ccb 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-march=rv64gc_zbb_zbs -mabi=lp64" } */
-/* { dg-skip-if "" { *-*-* } { "-O0" "-Og" "-Os" } } */
+/* { dg-skip-if "" { *-*-* } { "-O0" "-Og" "-Os" "-Oz" } } */
 
 
 typedef unsigned int uint32_t;
This page took 0.07166 seconds and 5 git commands to generate.