https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122066
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Andreas Schwab <sch...@gcc.gnu.org>: https://gcc.gnu.org/g:f2586a4a6c8ae21775fecb57f46ddbaa83af49f3 commit r16-4170-gf2586a4a6c8ae21775fecb57f46ddbaa83af49f3 Author: Andreas Schwab <sch...@linux-m68k.org> Date: Mon Sep 29 18:46:45 2025 +0200 m68k: fix adddi3/subdi3 with POST_INC/PRE_DEC destination This part has never been exercised until r15-1579-g792f97b44ffc5e. PR target/122066 * config/m68k/m68k.md (adddi3, subdi3): Strip POST_INC and PRE_DEC when generating high part of the destination operand. * gcc.c-torture/compile/pr122066.c: New test.