diff mbox series

Restrict pr116202-run-1.c test to riscv_v target

Message ID 20240812203123.2860138-1-mark@klomp.org
State New
Headers show
Series Restrict pr116202-run-1.c test to riscv_v target | expand

Commit Message

Mark Wielaard Aug. 12, 2024, 8:31 p.m. UTC
The testcase uses -march=rv64gcv and dg-do run, so should be
restricted to a riscv_v target.

gcc/testsuite/ChangeLog:

	* gcc.target/riscv/rvv/base/pr116202-run-1.c (dg-do run):
	Add target riscv_v.
---
 gcc/testsuite/gcc.target/riscv/rvv/base/pr116202-run-1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jeff Law Aug. 14, 2024, 4:04 a.m. UTC | #1
On 8/12/24 2:31 PM, Mark Wielaard wrote:
> The testcase uses -march=rv64gcv and dg-do run, so should be
> restricted to a riscv_v target.
> 
> gcc/testsuite/ChangeLog:
> 
> 	* gcc.target/riscv/rvv/base/pr116202-run-1.c (dg-do run):
> 	Add target riscv_v.
OK
jeff
diff mbox series

Patch

diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/pr116202-run-1.c b/gcc/testsuite/gcc.target/riscv/rvv/base/pr116202-run-1.c
index 02814183dbb9..979989f8a857 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/base/pr116202-run-1.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/base/pr116202-run-1.c
@@ -1,4 +1,4 @@ 
-/* { dg-do run } */
+/* { dg-do run { target { riscv_v } } } */
 /* { dg-options "-O3 -march=rv64gcv_zvl256b -mabi=lp64d -fdump-rtl-expand-details" } */
 
 int b[24];