https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19987 Bug 19987 depends on bug 96232, which changed state.
Bug 96232 Summary: Failure to optimize bool pattern equivalent to minus 1 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96232 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED