https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95685 --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- I wonder why CSE2 (after loop) does not catch the redundancies at least. Hmm, guess EBB is too local? But then there's gcse2?