https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123853
Andreas Schwab <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rsandifo at gcc dot gnu.org --- Comment #12 from Andreas Schwab <[email protected]> --- late-combine calls apply_to_pattern for (insn 24 23 26 4 (set (mem:SI (reg/f:SI 9 %a1 [orig:37 _8 ] [37]) [1 *_8+0 S4 A16]) (mem:SI (pre_dec:SI (reg:SI 8 %a0 [orig:39 ivtmp.19 ] [39])) [1 MEM[(int *)_32]+0 S4 A16])) "../obstack.i":10:47 55 {*movsi_m68k2} (expr_list:REG_INC (reg:SI 8 %a0 [orig:39 ivtmp.19 ] [39]) (nil))) to replace (reg 9) with (plus:SI (reg:SI 8 %a0 [orig:39 ivtmp.19 ] [39]) (reg:SI 0 %d0 [orig:51 _5 ] [51])) I think apply_to_rvalue_1 should reject this because (reg 8) is reg_overlap_metioned_p in the replacement.
