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