public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-1127] RISC-V/testsuite: Fix pr105666.c under rv32
@ 2022-06-16  4:22 Kito Cheng
  0 siblings, 0 replies; only message in thread
From: Kito Cheng @ 2022-06-16  4:22 UTC (permalink / raw)
  To: gcc-cvs

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-16  4:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-16  4:22 [gcc r13-1127] RISC-V/testsuite: Fix pr105666.c under rv32 Kito Cheng

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).