Testcases were backport to gcc-15 that require support for a cpu that
is not supported by gcc-15.  Drop them.

Tested before and after with gcc-15 on riscv64-elf.  Failures are gone :-)
Ok for gcc-15?


for  gcc/testsuite/ChangeLog

        PR target/122051
        PR target/120642
        * gcc.target/riscv/pr122051.c: Remove.
        * gcc.target/riscv/rvv/xtheadvector/pr120642.c: Remove.
---
 gcc/testsuite/gcc.target/riscv/pr122051.c          |   24 --------------------
 .../gcc.target/riscv/rvv/xtheadvector/pr120642.c   |    4 ---
 2 files changed, 28 deletions(-)
 delete mode 100644 gcc/testsuite/gcc.target/riscv/pr122051.c
 delete mode 100644 gcc/testsuite/gcc.target/riscv/rvv/xtheadvector/pr120642.c

diff --git a/gcc/testsuite/gcc.target/riscv/pr122051.c 
b/gcc/testsuite/gcc.target/riscv/pr122051.c
deleted file mode 100644
index c2f4b877d5ea3..0000000000000
--- a/gcc/testsuite/gcc.target/riscv/pr122051.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/* { dg-do compile { target int128 } } */
-/* { dg-additional-options "-mrvv-vector-bits=zvl -mcpu=xt-c920 -w" } */
-
-typedef __attribute__((__vector_size__(4))) char B;
-typedef __attribute__((__vector_size__(16))) long V;
-typedef __attribute__((__vector_size__(32))) double W;
-typedef __attribute__((__vector_size__(32))) char U;
-unsigned u;
-B o;
-char *p;
-int q;
-V v;
-W w;
-
-void
-foo(__int128, __int128, __int128, __int128, B a, B b, B c, B d, B e, B f, B g, 
B h) {
-  do {
-    w -= q;
-    v ^= u;
-  } while (__builtin_memcmp(p, 1 + p, 7));
-  o = ((U)w)[0] + c + d + e + f + g + h + a + b;
-}
-
-
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/xtheadvector/pr120642.c 
b/gcc/testsuite/gcc.target/riscv/rvv/xtheadvector/pr120642.c
deleted file mode 100644
index 1a72580ad605b..0000000000000
--- a/gcc/testsuite/gcc.target/riscv/rvv/xtheadvector/pr120642.c
+++ /dev/null
@@ -1,4 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options "-O -mcpu=xt-c920 -mrvv-vector-bits=zvl" } */
-int __attribute__((__vector_size__(4 * sizeof(int)))) v;
-void foo() { v /= 3; }

-- 
Alexandre Oliva, happy hacker            https://blog.lx.oliva.nom.br/
Free Software Activist     FSFLA co-founder     GNU Toolchain Engineer
More tolerance and less prejudice are key for inclusion and diversity.
Excluding neuro-others for not behaving ""normal"" is *not* inclusive!

Reply via email to