From: Jeff Law Date: Wed, 29 Oct 2025 23:32:03 +0000 (-0600) Subject: Revert "[PR target/116662][RISC-V] Adjust destructive interference size for RISC-V" X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e8013e785b454dd65abb38a50f2c3fd80776435;p=thirdparty%2Fgcc.git Revert "[PR target/116662][RISC-V] Adjust destructive interference size for RISC-V" This reverts commit 36a3b24ff87c13885430251cb60b26de86ba741c. --- diff --git a/gcc/config/riscv/riscv.cc b/gcc/config/riscv/riscv.cc index 8880b199d41..63404d3d514 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;