https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106602
Jeffrey A. Law <law at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |law at gcc dot gnu.org --- Comment #7 from Jeffrey A. Law <law at gcc dot gnu.org> --- There's some code in combine that's supposed to take advantage of REG_EQUAL notes which is supposed to help with this kind of scenario. Digging into that might help.