From: Palmer Dabbelt Date: Mon, 17 Apr 2023 18:20:44 +0000 (-0700) Subject: RISC-V: Force ilp32d for the T-Head FMV test X-Git-Tag: releases/gcc-13.1.0~22 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5f9d31db754db709239569edfd65620c1c29109b;p=thirdparty%2Fgcc.git 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. (cherry picked from commit c16848ed8f30be952ac0167fd464ae794fa5ac67) --- 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