public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Jeff Law <law@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc(refs/vendors/riscv/heads/gcc-13-with-riscv-opts)] RISC-V: Remove redundant ABI test
Date: Mon, 18 Sep 2023 18:25:44 +0000 (GMT)	[thread overview]
Message-ID: <20230918182544.DC62F3857716@sourceware.org> (raw)

https://gcc.gnu.org/g:a481773a4e8b11dfc880c4df6613f18242975ac9

commit a481773a4e8b11dfc880c4df6613f18242975ac9
Author: Juzhe-Zhong <juzhe.zhong@rivai.ai>
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);
-}

                 reply	other threads:[~2023-09-18 18:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230918182544.DC62F3857716@sourceware.org \
    --to=law@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).