[gcc(refs/vendors/riscv/heads/gcc-15-with-riscv-opts)] RISC-V: Add missing member for andes_25_tune_info

Jeff Law law@gcc.gnu.org
Sat Nov 15 23:42:28 GMT 2025


https://gcc.gnu.org/g:41ebc96c913379fb6ae3be65a8bbadbdd72c87c6

commit 41ebc96c913379fb6ae3be65a8bbadbdd72c87c6
Author: Kuan-Lin Chen <rufus@andestech.com>
Date:   Fri Nov 14 14:35:18 2025 -0700

    RISC-V: Add missing member for andes_25_tune_info
    
    gcc/ChangeLog:
    
            * config/riscv/riscv.cc (andes_25_tune_info): Add prefer-agnostic.
    
    (cherry picked from commit 00a522ee1caf9fd988a75201b0fe64b1d5606520)

Diff:
---
 gcc/config/riscv/riscv.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/config/riscv/riscv.cc b/gcc/config/riscv/riscv.cc
index ef1126e6e069..cbee4363b715 100644
--- a/gcc/config/riscv/riscv.cc
+++ b/gcc/config/riscv/riscv.cc
@@ -757,6 +757,7 @@ static const struct riscv_tune_param andes_25_tune_info = {
   NULL,						/* function_align */
   NULL,						/* jump_align */
   NULL,						/* loop_align */
+  true,						/* prefer-agnostic.  */
 };
 
 static bool riscv_avoid_shrink_wrapping_separate ();


More information about the Gcc-cvs mailing list