On 2/26/2026 11:31 AM, Philipp Tomsich wrote:
This series contains some minor fixes and improvements for the
fold-mem-offsets pass that we'd like to still land into GCC16.
Philipp Tomsich (6):
fold-mem-offsets: Fix wrong mode in memory_address_addr_space_p
fold-mem-offsets: Replace boolean parameters with enum in
fold_offsets_1
fold-mem-offsets: Clarify why do_analysis pre-marks the memory insn
fold-mem-offsets: Move RISC-V size-optimization workaround to the
backend
fold-mem-offsets: Store fold_mem_info by value in the hash_map
fold-mem-offsets: Make get_fold_mem_root static
Given we're in stage4 (regression fixes) we probably need to be pretty
cautious here.
The first patch likely fixes a correctness issue and latent
regressions. So I think it's reasonable to include now.
The rest look like cleanups/improvements to me. So I'd tend to
recommend deferring those to gcc-17.
Jeff