]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V: Fix missing abi arg in test
authorEdwin Lu <ewlu@rivosinc.com>
Wed, 7 Aug 2024 17:34:10 +0000 (10:34 -0700)
committerEdwin Lu <ewlu@rivosinc.com>
Mon, 12 Aug 2024 16:48:04 +0000 (09:48 -0700)
The following test was failing when building on 32 bit targets
due to not overwriting the mabi arg. This resulted in dejagnu
attempting to run the test with -mabi=ilp32d -march=rv64gcv_zvl256b

gcc/testsuite/ChangeLog:

* gcc.target/riscv/rvv/base/pr116202-run-1.c: Add mabi arg

Signed-off-by: Edwin Lu <ewlu@rivosinc.com>
gcc/testsuite/gcc.target/riscv/rvv/base/pr116202-run-1.c

index d150f20b5d93df1e9c6abb81fd9fc5884d614ff1..02814183dbb9dd5a5ae284c5a1eac9498cdb6488 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do run } */
-/* { dg-options "-O3 -march=rv64gcv_zvl256b -fdump-rtl-expand-details" } */
+/* { dg-options "-O3 -march=rv64gcv_zvl256b -mabi=lp64d -fdump-rtl-expand-details" } */
 
 int b[24];
 _Bool c[24];