The testcase pr113742.c is failing for 32 bit targets due to the following cc1 error: cc1: error: ABI requries '-march=rv64'
Disable testing on rv32 targets PR target/113742 gcc/testsuite/ChangeLog: * gcc.target/riscv/pr113742.c: add require-effective-target Signed-off-by: Edwin Lu <e...@rivosinc.com> --- gcc/testsuite/gcc.target/riscv/pr113742.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/gcc.target/riscv/pr113742.c b/gcc/testsuite/gcc.target/riscv/pr113742.c index ab8934c2a8a..9cea92ed97c 100644 --- a/gcc/testsuite/gcc.target/riscv/pr113742.c +++ b/gcc/testsuite/gcc.target/riscv/pr113742.c @@ -1,4 +1,5 @@ //* { dg-do compile } */ /* { dg-options "-O2 -finstrument-functions -mabi=lp64d -mcpu=sifive-p670" } */ +/* { dg-require-effective-target rv64 } */ void foo(void) {} -- 2.34.1