public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Kito Cheng <kito@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r13-1127] RISC-V/testsuite: Fix pr105666.c under rv32
Date: Thu, 16 Jun 2022 04:22:52 +0000 (GMT)	[thread overview]
Message-ID: <20220616042252.36B713850417@sourceware.org> (raw)

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

commit r13-1127-gb18e5d7e5f9df69759f0fbc2bed91d5e51313e79
Author: Jia-wei Chen <jiawei@iscas.ac.cn>
Date:   Wed Jun 8 17:35:21 2022 +0800

    RISC-V/testsuite: Fix pr105666.c under rv32
    
    In rv32 regression test, this cases will report an error:
    
    "cc1: error: ABI requires '-march=rv32'"
    
    Add '-mabi' option will fix this.
    
    gcc/testsuite/ChangeLog:
    
            * gcc.target/riscv/pr105666.c: New options.

Diff:
---
 gcc/testsuite/gcc.target/riscv/pr105666.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/riscv/pr105666.c b/gcc/testsuite/gcc.target/riscv/pr105666.c
index dd996eec8ef..752bbf1c017 100644
--- a/gcc/testsuite/gcc.target/riscv/pr105666.c
+++ b/gcc/testsuite/gcc.target/riscv/pr105666.c
@@ -7,7 +7,7 @@
 
 /* { dg-do compile } */
 /* { dg-require-effective-target hard_float } */
-/* { dg-options "-march=rv64g -ffast-math" } */
+/* { dg-options "-march=rv64g -mabi=lp64d -ffast-math" } */
 
 #define NITER 4
 #define NVARS 20


                 reply	other threads:[~2022-06-16  4:22 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=20220616042252.36B713850417@sourceware.org \
    --to=kito@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).