]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V: testsuite: restrict big endian test to non vector
authorEdwin Lu <ewlu@rivosinc.com>
Tue, 19 Nov 2024 20:55:15 +0000 (12:55 -0800)
committerEdwin Lu <ewlu@rivosinc.com>
Wed, 20 Nov 2024 17:49:53 +0000 (09:49 -0800)
RISC-V vector currently does not support big endian so the postcommit
was getting the sorry, not implemented error on vector targets. Restrict
the testcase to non-vector targets

gcc/testsuite/ChangeLog:

* gcc.target/riscv/pr117595.c: Restrict to non vector targets.

Signed-off-by: Edwin Lu <ewlu@rivosinc.com>
gcc/testsuite/gcc.target/riscv/pr117595.c

index a870df08ee4be6b19fc4a0128cdc5fce877ef322..156b9388d6e451ccaccceed45a7c3ad3e1ed15c4 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do compile } */
+/* { dg-do compile { target { ! riscv_v } } } */
 /* { dg-options "-mbig-endian" } */
 
 _Atomic enum { E0 } e;