https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108582
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- PHI g_9 reduced for COND_EXPR in block 7 to g_8. statement un-sinked: k_22 = k_11 | iftmp.5_13; Removing basic block 8 ;; basic block 8, loop depth 0 ;; pred: 7 # iftmp.5_13 = PHI <2(7)> ;; succ: 9 Looks like match-and-simplify phiopt does not take into account PHInodes ...