From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2119) id DC62F3857716; Mon, 18 Sep 2023 18:25:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DC62F3857716 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1695061544; bh=3m3FQMr2I3+SqAj4vdcQmNHHy/qRKEKgCpnSNnQQ/X4=; h=From:To:Subject:Date:From; b=slS4zIeN2gurLh3ZorqD7SyLFemb0AmAbDeJ5pMlVGL2bA1bTvNLLG5R8nx+onqEb yemL1er+EIFJSsdSOvyDEsUVOzApmzyec6puw5a3BDq4w8MngEeuwVJR267JLCnnGv aa4fBRtI/Ofp98TJzsA05w/qOpgED8cCWHagFr3A= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Jeff Law To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/vendors/riscv/heads/gcc-13-with-riscv-opts)] RISC-V: Remove redundant ABI test X-Act-Checkin: gcc X-Git-Author: Juzhe-Zhong X-Git-Refname: refs/vendors/riscv/heads/gcc-13-with-riscv-opts X-Git-Oldrev: 426bae4a0af07376a8c71d5ca4e0845de90a1d87 X-Git-Newrev: a481773a4e8b11dfc880c4df6613f18242975ac9 Message-Id: <20230918182544.DC62F3857716@sourceware.org> Date: Mon, 18 Sep 2023 18:25:44 +0000 (GMT) List-Id: https://gcc.gnu.org/g:a481773a4e8b11dfc880c4df6613f18242975ac9 commit a481773a4e8b11dfc880c4df6613f18242975ac9 Author: Juzhe-Zhong Date: Wed Sep 13 11:20:44 2023 +0800 RISC-V: Remove redundant ABI test 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. (cherry picked from commit 20268ad194d3c00d1182af345875ce63a4a9c762) Diff: --- gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-9.c | 16 ---------------- 1 file changed, 16 deletions(-) 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); -}