https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19987 Bug 19987 depends on bug 96669, which changed state.
Bug 96669 Summary: Failure to optimize shift by variable+and by 1 to test for 0 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96669 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED