https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111001
--- Comment #13 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-12 branch has been updated by Oleg Endo <olege...@gcc.gnu.org>: https://gcc.gnu.org/g:4414818f4e5de54ea3c353e2ebb2e79a89ae211b commit r12-9938-g4414818f4e5de54ea3c353e2ebb2e79a89ae211b Author: Oleg Endo <olege...@gcc.gnu.org> Date: Mon Oct 23 22:08:37 2023 +0900 SH: Fix PR 111001 gcc/ChangeLog: PR target/111001 * config/sh/sh_treg_combine.cc (sh_treg_combine::record_set_of_reg): Skip over nop move insns.