https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110963
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- So we're now doing an additional sinking: Sinking # VUSE <.MEM_2(D)> pretmp_12 = h; from bb 2 to bb 4 Removing basic block 9 that's the only IL difference on GIMPLE, without this we optimize away foo during RTL optimization during RTL PRE.