From 806789e6daa39ab0503d91c71b3faeb5d5cdd317 Mon Sep 17 00:00:00 2001 From: Pan Li Date: Sun, 3 Dec 2023 22:13:00 +0800 Subject: [PATCH] RISC-V: Fix typo in test abi configuration It should be -mabi=lp64d instead of -mabi=lp64, committed in as obvious. gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv/base/pr112743-1.c: Fix typo. * gcc.target/riscv/rvv/base/pr112743-2.c: Ditto. Signed-off-by: Pan Li --- gcc/testsuite/gcc.target/riscv/rvv/base/pr112743-1.c | 2 +- gcc/testsuite/gcc.target/riscv/rvv/base/pr112743-2.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/pr112743-1.c b/gcc/testsuite/gcc.target/riscv/rvv/base/pr112743-1.c index 2e62e60d89b..0f6d005aee8 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/pr112743-1.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/pr112743-1.c @@ -1,6 +1,6 @@ /* Test that we do not have ice when compile */ /* { dg-do compile } */ -/* { dg-options "-march=rv64gc_zve32f_zvfh_zfh -mabi=lp64 -O2" } */ +/* { dg-options "-march=rv64gc_zve32f_zvfh_zfh -mabi=lp64d -O2" } */ typedef struct test_a { void *x; diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/pr112743-2.c b/gcc/testsuite/gcc.target/riscv/rvv/base/pr112743-2.c index fdb35fd70f2..27eefc6b4ab 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/pr112743-2.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/pr112743-2.c @@ -1,6 +1,6 @@ /* Test that we do not have ice when compile */ /* { dg-do compile } */ -/* { dg-options "-march=rv64gc_zve32f_zvfh_zfh -mabi=lp64 -O2" } */ +/* { dg-options "-march=rv64gc_zve32f_zvfh_zfh -mabi=lp64d -O2" } */ #include