gcc - GNU Compiler Collection (original) (raw)

author Vineet Gupta vineetg@rivosinc.com 2025-05-20 14:15:53 -0700
committer Vineet Gupta vineetg@rivosinc.com 2025-06-10 13:42:23 -0700
commit 0005b1e577135bf0345447529d138f4d15618ec0 (patch)
tree 03004a7ca94d20d45336fda98878846a6a4035b4
parent More API for IPA profile manipulation (diff)

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

-rw-r--r-- gcc/testsuite/gcc.target/riscv/rvv/vtype-call-clobbered.c 2

1 files changed, 1 insertions, 1 deletions

diff --git a/gcc/testsuite/gcc.target/riscv/rvv/vtype-call-clobbered.c b/gcc/testsuite/gcc.target/riscv/rvv/vtype-call-clobbered.cindex 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 @@
1 /* { dg-do compile } */ 1 /* { dg-do compile } */
2 /* { dg-options "-march=rv64gcv -mabi=lp64 -O2" } */ 2 /* { dg-options "-march=rv64gcv -mabi=lp64d -O2" } */
3 /* { dg-skip-if "" { *-*-* } { "-O0" "-Og" "-Os" "-Oz" } } */ 3 /* { dg-skip-if "" { *-*-* } { "-O0" "-Og" "-Os" "-Oz" } } */
4 4
5 #include "riscv_vector.h" 5 #include "riscv_vector.h"