https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108938
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Though, if more than one replacement operation is emitted, one needs to be careful not to emit more expensive replacement than the original sequence (especially if some subexpressions aren't single use).