public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-3199] RISC-V: Adjust testcase for rvv/base/user-1.c
@ 2022-10-10 13:11 Kito Cheng
0 siblings, 0 replies; only message in thread
From: Kito Cheng @ 2022-10-10 13:11 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:99e9796ca1e9afcf820214353756a9a140d89be3
commit r13-3199-g99e9796ca1e9afcf820214353756a9a140d89be3
Author: Kito Cheng <kito.cheng@sifive.com>
Date: Fri Oct 7 16:54:05 2022 +0800
RISC-V: Adjust testcase for rvv/base/user-1.c
The -march option check isn't precise enough, -march=rv*v* also mach any
zve extensions.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/base/user-1.c: Add dg-options and drop
dg-skip-if.
Reported-by: Christoph Müllner <christoph.muellner@vrull.eu>
Tested-by: Christoph Müllner <christoph.muellner@vrull.eu>
Reviewed-by: Ju-Zhe Zhong <juzhe.zhong@rivai.ai>
Diff:
---
gcc/testsuite/gcc.target/riscv/rvv/base/user-1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/user-1.c b/gcc/testsuite/gcc.target/riscv/rvv/base/user-1.c
index fa1f0f3d4d2..00fb73f220f 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/base/user-1.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/base/user-1.c
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-skip-if "test rvv intrinsic" { *-*-* } { "*" } { "-march=rv*v*" } } */
+/* { dg-options "-O3 -march=rv32gcv -mabi=ilp32d" } */
#include "riscv_vector.h"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-10-10 13:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-10 13:11 [gcc r13-3199] RISC-V: Adjust testcase for rvv/base/user-1.c Kito Cheng
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).