https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101469
--- Comment #11 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Oleg Endo <olege...@gcc.gnu.org>: https://gcc.gnu.org/g:4dbb3af1efe55174a714d15c2994cf2842ef8c28 commit r14-2511-g4dbb3af1efe55174a714d15c2994cf2842ef8c28 Author: Oleg Endo <olege...@gcc.gnu.org> Date: Fri Jul 14 09:54:20 2023 +0900 SH: Fix PR101496 peephole bug gcc/ChangeLog: PR target/101469 * config/sh/sh.md (peephole2): Handle case where eliminated reg is also used by the address of the following memory operand.