]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V: Remove redundant ABI test
authorJuzhe-Zhong <juzhe.zhong@rivai.ai>
Wed, 13 Sep 2023 03:20:44 +0000 (11:20 +0800)
committerLehua Ding <lehua.ding@rivai.ai>
Wed, 13 Sep 2023 03:24:58 +0000 (11:24 +0800)
We only support and report warning for RVV types.

We don't report warning for GNU vectors.
So this testcase checking is incorrect and the FAIL is bogus.

Remove it and commit it.

gcc/testsuite/ChangeLog:

* gcc.target/riscv/rvv/base/vector-abi-9.c: Removed.

gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-9.c [deleted file]

diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-9.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-9.c
deleted file mode 100644 (file)
index b5f130f..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options "-march=rv64gcv -mabi=lp64d --param=riscv-autovec-preference=fixed-vlmax" } */
-
-#include "riscv_vector.h"
-
-typedef int v4si __attribute__ ((vector_size (16)));
-
-v4si
-fun (v4si a) {  return a; }  /* { dg-warning "the vector type" } */
-
-void
-bar ()
-{
-  v4si a;
-  fun (a);
-}