The -mcpu=tt-ascalon-d8 option for the test implies D extension, which is not compatible with the ILP32E and ILP64E ABIs.
Pushed to trunk as obvious. gcc/testsuite/ChangeLog: * gcc.target/riscv/pr118170.c: Ignore for E ABI. Signed-off-by: Dimitar Dimitrov <dimi...@dinux.eu> --- gcc/testsuite/gcc.target/riscv/pr118170.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/riscv/pr118170.c b/gcc/testsuite/gcc.target/riscv/pr118170.c index 306ff888aeb..baa7f8d3d9e 100644 --- a/gcc/testsuite/gcc.target/riscv/pr118170.c +++ b/gcc/testsuite/gcc.target/riscv/pr118170.c @@ -1,4 +1,4 @@ -/* { dg-do "compile" } */ +/* { dg-do "compile" { target { ! riscv_abi_e } } } */ /* { dg-options "-O2 -mcpu=tt-ascalon-d8" } */ _Float16 f; -- 2.48.1