https://gcc.gnu.org/g:3e8013e785b454dd65abb38a50f2c3fd80776435

commit r16-4718-g3e8013e785b454dd65abb38a50f2c3fd80776435
Author: Jeff Law <[email protected]>
Date:   Wed Oct 29 17:32:03 2025 -0600

    Revert "[PR target/116662][RISC-V] Adjust destructive interference size for 
RISC-V"
    
    This reverts commit 36a3b24ff87c13885430251cb60b26de86ba741c.

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

diff --git a/gcc/config/riscv/riscv.cc b/gcc/config/riscv/riscv.cc
index 8880b199d415..63404d3d5143 100644
--- a/gcc/config/riscv/riscv.cc
+++ b/gcc/config/riscv/riscv.cc
@@ -12040,14 +12040,6 @@ riscv_option_override (void)
                       param_cycle_accurate_model,
                       0);
 
-  /* Cache lines of 64 bytes are common these days, so let's get a sensible
-     value for the interference size.  Technically this can leak and cause
-     sizes of structures to change, but consensus is anything using the
-     value to size fields within a structure is broken.  Any 2^n byte value
-     is functionally correct, but may not be performant.  */
-  SET_OPTION_IF_UNSET (&global_options, &global_options_set,
-                      param_destruct_interfere_size, 0);
-
   /* Function to allocate machine-dependent function status.  */
   init_machine_status = &riscv_init_machine_status;

Reply via email to