https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94892
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #6) > Two things we should simplify: > _4 = _3 >> 31; > _4 != -1 > > Into: > _3 >= 0 (if _3 is signed, otherwise false) > > (this will solve f0) See bug 85234 comment #5 on handle that one (g and g2).