https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99997
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I suspect if we do something about: # iftmp.0_8 = PHI <0(3), 1(4)> _9 = (_Bool) iftmp.0_8; First things might just work. Let me look into that. Plus there might be an expand issue ...