https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110503
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=108360 --- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #1) > I noticed there is a missing optimization here (during VRP1): > _29 = _11 == 0; > _30 = (unsigned int) _29; > _14 = -_30; > if (_14 > 2) > > That is just: > if (_14 != 0) > or: > if (_29 != 0) > or rather: > if (_11 == 0) That shows up similarly in PR 108360.