https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81165
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note even GCC 7 misses the following optimization: if(1>>x2) Should be converted into: if(x2 == 0) I am testing a patch for that, note it does not get us back to where 7.1 was but still a good thing to do.