public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] RISC-V: Fix testsuite fail on RV32
@ 2023-04-17  1:53 Kito Cheng
  0 siblings, 0 replies; only message in thread
From: Kito Cheng @ 2023-04-17  1:53 UTC (permalink / raw)
  To: gcc-patches, kito.cheng, palmer, juzhe.zhong; +Cc: Kito Cheng

gcc/testsuite/ChangeLog:

	* gcc.target/riscv/rvv/base/scalar_move-2.c: Adjust include way
	for riscv_vector.h
	* gcc.target/riscv/rvv/base/spill-sp-adjust.c: Add missing
	-mabi.
---
 gcc/testsuite/gcc.target/riscv/rvv/base/scalar_move-2.c   | 2 +-
 gcc/testsuite/gcc.target/riscv/rvv/base/spill-sp-adjust.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/scalar_move-2.c b/gcc/testsuite/gcc.target/riscv/rvv/base/scalar_move-2.c
index 39fc107c657..5b538ba6aab 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/base/scalar_move-2.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/base/scalar_move-2.c
@@ -1,7 +1,7 @@
 /* { dg-do compile } */
 /* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */
 
-#include <riscv_vector.h>
+#include "riscv_vector.h"
 
 /*
 ** foo1:
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/spill-sp-adjust.c b/gcc/testsuite/gcc.target/riscv/rvv/base/spill-sp-adjust.c
index f8c9f6313e8..a6598a5ca88 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/base/spill-sp-adjust.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/base/spill-sp-adjust.c
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-march=rv64gcv" } */
+/* { dg-options "-march=rv64gcv -mabi=lp64d" } */
 
 #include "spill-1.c"
 
-- 
2.39.2


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

only message in thread, other threads:[~2023-04-17  1:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-17  1:53 [committed] RISC-V: Fix testsuite fail on 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).