lgtm
On Wed, Sep 13, 2023 at 11:23 AM Juzhe-Zhong <juzhe.zh...@rivai.ai> wrote: > > 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.target/riscv/rvv/base/vector-abi-9.c | 16 ---------------- > 1 file changed, 16 deletions(-) > delete mode 100644 gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-9.c > > 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 > index b5f130f0caf..00000000000 > --- a/gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-9.c > +++ /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); > -} > -- > 2.36.3 >