public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-5695] RISC-V: testsuite: Add rv64 requirement for bug-9 and bug-14.
@ 2023-11-21 20:10 Robin Dapp
0 siblings, 0 replies; only message in thread
From: Robin Dapp @ 2023-11-21 20:10 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:686056b7965d5f6c3e7ef568e66b1435faad950d
commit r14-5695-g686056b7965d5f6c3e7ef568e66b1435faad950d
Author: Robin Dapp <rdapp@ventanamicro.com>
Date: Mon Nov 20 16:19:46 2023 +0100
RISC-V: testsuite: Add rv64 requirement for bug-9 and bug-14.
This adds an effective target requirement to compile the tests. Since
we disabled 64-bit indices on rv32 targets those tests should be
unsupported on rv32.
gcc/testsuite/ChangeLog:
* g++.target/riscv/rvv/base/bug-14.C: Add
dg-require-effective-target rv64.
* g++.target/riscv/rvv/base/bug-9.C: Ditto.
Diff:
---
gcc/testsuite/g++.target/riscv/rvv/base/bug-14.C | 4 +++-
gcc/testsuite/g++.target/riscv/rvv/base/bug-9.C | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/gcc/testsuite/g++.target/riscv/rvv/base/bug-14.C b/gcc/testsuite/g++.target/riscv/rvv/base/bug-14.C
index bf0c7bd3a36..f2d67c85968 100644
--- a/gcc/testsuite/g++.target/riscv/rvv/base/bug-14.C
+++ b/gcc/testsuite/g++.target/riscv/rvv/base/bug-14.C
@@ -1,5 +1,7 @@
-/* { dg-do run { target { { {riscv_v} && {rv64} } } } } */
+/* { dg-do run } */
/* { dg-options "-O2" } */
+/* { dg-require-effective-target rv64 } */
+/* { dg-require-effective-target riscv_v } */
#include<cstdalign>
#include<cmath>
diff --git a/gcc/testsuite/g++.target/riscv/rvv/base/bug-9.C b/gcc/testsuite/g++.target/riscv/rvv/base/bug-9.C
index 8d17883bb57..c43dfae677d 100644
--- a/gcc/testsuite/g++.target/riscv/rvv/base/bug-9.C
+++ b/gcc/testsuite/g++.target/riscv/rvv/base/bug-9.C
@@ -1,5 +1,7 @@
-/* { dg-do run { target { { {riscv_v} && {rv64} } } } } */
+/* { dg-do run } */
/* { dg-options "-O2" } */
+/* { dg-require-effective-target rv64 } */
+/* { dg-require-effective-target riscv_v } */
#include<cstdalign>
#include<cmath>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-11-21 20:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-21 20:10 [gcc r14-5695] RISC-V: testsuite: Add rv64 requirement for bug-9 and bug-14 Robin Dapp
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).