https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19987 Bug 19987 depends on bug 95489, which changed state.
Bug 95489 Summary: Failure to optimize x && (x & y) to x & y https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95489 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE