https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19987 Bug 19987 depends on bug 95929, which changed state.
Bug 95929 Summary: Failure to optimize tautological comparisons of comparisons to a single one https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95929 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED