https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113255
--- Comment #17 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:5b281946c4b51132caf5e5b64c730fef92dd6123 commit r14-8796-g5b281946c4b51132caf5e5b64c730fef92dd6123 Author: Richard Biener <rguent...@suse.de> Date: Thu Feb 1 13:54:11 2024 +0100 target/113255 - avoid REG_POINTER on a pointer difference The following avoids re-using a register holding a pointer (and thus might be REG_POINTER) for the result of a pointer difference computation. That might confuse heuristics in (broken) RTL alias analysis which relies on REG_POINTER indicating that we're dealing with one. This alone doesn't fix anything. PR target/113255 * config/i386/i386-expand.cc (expand_set_or_cpymem_prologue_epilogue_by_misaligned_moves): Use a new pseudo for the skipped number of bytes.