[gcc(refs/vendors/riscv/heads/gcc-15-with-riscv-opts)] RISC-V: testsuite: fix an obvious build error
Jeff Law
law@gcc.gnu.org
Sat Sep 13 16:15:37 GMT 2025
https://gcc.gnu.org/g:bcc6f4d88085b6ba4e90fac2941e9b2ee611b15a
commit bcc6f4d88085b6ba4e90fac2941e9b2ee611b15a
Author: Vineet Gupta <vineetg@rivosinc.com>
Date: Tue May 20 14:15:53 2025 -0700
RISC-V: testsuite: fix an obvious build error
For a non-multilib build, I see following errors.
| FAIL: gcc.target/riscv/rvv/vtype-call-clobbered.c (test for excess errors)
| Excess errors:
| TC-INSTxyz/sysroot/usr/include/gnu/stubs.h:14:11: fatal error: gnu/stubs-lp64.h: No such file or directory compilation terminated.
The test selects non default ABI lp64 (vs. lp64d) for no real reason.
Fix that.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/vtype-call-clobbered.c: Fix -mabi.
Signed-off-by: Vineet Gupta <vineetg@rivosinc.com>
(cherry picked from commit 0005b1e577135bf0345447529d138f4d15618ec0)
Diff:
---
gcc/testsuite/gcc.target/riscv/rvv/vtype-call-clobbered.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/vtype-call-clobbered.c b/gcc/testsuite/gcc.target/riscv/rvv/vtype-call-clobbered.c
index be9f312aa508..78c8a4af8166 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/vtype-call-clobbered.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/vtype-call-clobbered.c
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-march=rv64gcv -mabi=lp64 -O2" } */
+/* { dg-options "-march=rv64gcv -mabi=lp64d -O2" } */
/* { dg-skip-if "" { *-*-* } { "-O0" "-Og" "-Os" "-Oz" } } */
#include "riscv_vector.h"
More information about the Gcc-cvs
mailing list