https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19987 Bug 19987 depends on bug 96688, which changed state.
Bug 96688 Summary: Failure to optimize shift-right/add+bitwise not of constant to avoid bitwise not https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96688 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED