public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-4342] RISC-V: Specify -mabi=lp64d in wredsum_vlmax.c testcase
@ 2023-09-29 22:01 Patrick O'Neill
  0 siblings, 0 replies; only message in thread
From: Patrick O'Neill @ 2023-09-29 22:01 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:4f1e5379fd77c744111672ab3d961cecb4826b80

commit r14-4342-g4f1e5379fd77c744111672ab3d961cecb4826b80
Author: Patrick O'Neill <patrick@rivosinc.com>
Date:   Fri Sep 29 14:20:07 2023 -0700

    RISC-V: Specify -mabi=lp64d in wredsum_vlmax.c testcase
    
    Resolves this error on rv32gcv:
    cc1: error: ABI requires '-march=rv32'
    compiler exited with status 1
    FAIL: gcc.target/riscv/rvv/vsetvl/wredsum_vlmax.c   -O0  (test for excess errors)
    
    Tested for regressions using glibc rv32gcv/rv64gcv multilib on
    r14-4339-geaa41a6dc12.
    
    gcc/testsuite/ChangeLog:
    
            * gcc.target/riscv/rvv/vsetvl/wredsum_vlmax.c: Specify -mabi=lp64d.
    
    Signed-off-by: Patrick O'Neill <patrick@rivosinc.com>

Diff:
---
 gcc/testsuite/gcc.target/riscv/rvv/vsetvl/wredsum_vlmax.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/wredsum_vlmax.c b/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/wredsum_vlmax.c
index 6b7c77326ae..81a0ebb9f52 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/wredsum_vlmax.c
+++ b/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/wredsum_vlmax.c
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-march=rv64gcv_zvl256b --param=riscv-autovec-preference=fixed-vlmax -O3" } */
+/* { dg-options "-march=rv64gcv_zvl256b -mabi=lp64d --param=riscv-autovec-preference=fixed-vlmax -O3" } */
 
 
 #include <stdint.h>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-09-29 22:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-29 22:01 [gcc r14-4342] RISC-V: Specify -mabi=lp64d in wredsum_vlmax.c testcase Patrick O'Neill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).