https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118922
--- Comment #13 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Macleod from comment #12) > Hmm. Going into phiopt2, I see: > and PHIOPT2 says: > > COND_EXPR in block 5 and PHI in block 7 converted to straightline code. > Merging blocks 4 and 6 > Removing basic block 5 Looks like some like some latent bug in value_replacement part of phiopt.