[gcc r14-6093] RISC-V: Fix typo in test abi configuration

Pan Li panli@gcc.gnu.org
Sun Dec 3 14:18:15 GMT 2023


https://gcc.gnu.org/g:806789e6daa39ab0503d91c71b3faeb5d5cdd317

commit r14-6093-g806789e6daa39ab0503d91c71b3faeb5d5cdd317
Author: Pan Li <pan2.li@intel.com>
Date:   Sun Dec 3 22:13:00 2023 +0800

    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 <pan2.li@intel.com>

Diff:
---
 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 <sys/types.h>


More information about the Gcc-cvs mailing list