https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111001
--- Comment #3 from Oleg Endo <olegendo at gcc dot gnu.org> --- (In reply to Oleg Endo from comment #2) > I've briefly tried on a local gcc version 13.1.1 20230714 > > While it doesn't crash, the sh_treg_combine2 pass seems to be stuck in an > infinite loop. It produces a log file > 200 MByte. It trips on the following insn: (insn 1431 1430 179 19 (set (reg/v:DI 264 [ blk_cnt ]) (reg/v:DI 264 [ blk_cnt ])) "rw_bitmaps.c":341:11 -1 (nil)) ... which is a reg-reg move on itself (i.e. a nop). For some reason this insn is emitted by the split1 pass, which runs before sh_treg_combine2.