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>
/* 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;
/* 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>