https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99997
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |59660 --- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #5) > 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 ... PR 59660 has the same issue there. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59660 [Bug 59660] We fail to optimize common boolean checks pre-inlining