From c16848ed8f30be952ac0167fd464ae794fa5ac67 Mon Sep 17 00:00:00 2001 From: Palmer Dabbelt Date: Tue, 11 Apr 2023 12:59:48 -0700 Subject: [PATCH] RISC-V: Force ilp32d for the T-Head FMV test These functions are NOPs on the soft-float ABIs. Since we're already forcing the ISA, let's just force the ABI too. gcc/testsuite/ChangeLog: * gcc.target/riscv/xtheadfmv-fmv.c: Force the ilp32d ABI. --- gcc/testsuite/gcc.target/riscv/xtheadfmv-fmv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/riscv/xtheadfmv-fmv.c b/gcc/testsuite/gcc.target/riscv/xtheadfmv-fmv.c index 10d035e9e1d0..1036044291e7 100644 --- a/gcc/testsuite/gcc.target/riscv/xtheadfmv-fmv.c +++ b/gcc/testsuite/gcc.target/riscv/xtheadfmv-fmv.c @@ -1,5 +1,5 @@ /* { dg-do compile { target { rv32 } } } */ -/* { dg-options "-march=rv32gc_xtheadfmv" } */ +/* { dg-options "-march=rv32gc_xtheadfmv -mabi=ilp32d" } */ /* { dg-skip-if "" { *-*-* } { "-O0" } } */ double -- 2.47.2