https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19987 Bug 19987 depends on bug 95914, which changed state.
Bug 95914 Summary: Failure to optimize saturated add properly https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95914 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED