https://gcc.gnu.org/g:df0b4a7aefd4c008e53cc2f0b098fbaf561189ef

commit df0b4a7aefd4c008e53cc2f0b098fbaf561189ef
Author: Alexandre Oliva <[email protected]>
Date:   Sat Jan 31 01:52:55 2026 -0300

    testsuite: riscv: pr114139 goes 64-bit without choosing a 64-bit abi
    
    This test selects a 64-bit cpu, which sets the arch to 64-bit, without
    selecting a 64-bit abi, so it fails on riscv32-elf.  Set the abi.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.target/riscv/pr114139.c: Set the abi explicitly.

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

diff --git a/gcc/testsuite/gcc.target/riscv/pr114139.c 
b/gcc/testsuite/gcc.target/riscv/pr114139.c
index d4e7593f5c04..5aa587f1b6f0 100644
--- a/gcc/testsuite/gcc.target/riscv/pr114139.c
+++ b/gcc/testsuite/gcc.target/riscv/pr114139.c
@@ -1,5 +1,5 @@
 /* { dg-do compile { target { ! riscv_abi_e } } } */
-/* { dg-options "-O2 -fpic -mexplicit-relocs -mcpu=sifive-p450" } */
+/* { dg-options "-O2 -fpic -mexplicit-relocs -mcpu=sifive-p450 -mabi=lp64d" } 
*/
 
 static void *p;
 extern void *a[];

Reply via email to