https://gcc.gnu.org/g:537d251e84e6b9624d80dc434dfdb1698909c129
commit r17-6620-g537d251e84e6b9624d80dc434dfdb1698909c129 Author: Jin Ma <[email protected]> Date: Mon Nov 23 18:22:25 2026 +0800 RISC-V: Free temporary AVL reaching-definition bitmaps Release the local bitmap vector after computing AVL reaching definitions. The member cleanup cannot free this temporary allocation. gcc/ChangeLog: * config/riscv/riscv-vsetvl.cc (pre_vsetvl::compute_vsetvl_def_data): Free temporary AVL bitmaps. Diff: --- gcc/config/riscv/riscv-vsetvl.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/config/riscv/riscv-vsetvl.cc b/gcc/config/riscv/riscv-vsetvl.cc index 8ea85b65a665..19b2765ef0b6 100644 --- a/gcc/config/riscv/riscv-vsetvl.cc +++ b/gcc/config/riscv/riscv-vsetvl.cc @@ -2897,6 +2897,7 @@ pre_vsetvl::compute_vsetvl_def_data () compute_reaching_definition (def_loc, m_reg_def_loc, m_vsetvl_avl_reach_in, m_vsetvl_avl_reach_out); + sbitmap_vector_free (def_loc); } /* Subroutine of compute_lcm_local_properties which Compute local transparent
