diff options
author | Jeff Law <jlaw@ventanamicro.com> | 2024-06-22 10:39:51 -0600 |
---|---|---|
committer | Jeff Law <jlaw@ventanamicro.com> | 2024-06-22 10:39:51 -0600 |
commit | 6ceb5f7859e3fe39feb62de402bed656b8dfe6b9 (patch) | |
tree | 80ca13a46ed22f830f360bc14c3401118e5de774 | |
parent | d4adba21a7a1428a0ad1a2647fe98fca77f5bf3c (diff) | |
download | gcc-6ceb5f7859e3fe39feb62de402bed656b8dfe6b9.zip gcc-6ceb5f7859e3fe39feb62de402bed656b8dfe6b9.tar.gz gcc-6ceb5f7859e3fe39feb62de402bed656b8dfe6b9.tar.bz2 |
[committed] [RISC-V] Skip zbs-ext-2.c for -Oz as well
> 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.
-rw-r--r-- | gcc/testsuite/gcc.target/riscv/zbs-ext-2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.target/riscv/zbs-ext-2.c b/gcc/testsuite/gcc.target/riscv/zbs-ext-2.c index 690dd72..6d11543 100644 --- a/gcc/testsuite/gcc.target/riscv/zbs-ext-2.c +++ b/gcc/testsuite/gcc.target/riscv/zbs-ext-2.c @@ -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; |