https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19987 Bug 19987 depends on bug 96708, which changed state.
Bug 96708 Summary: Failure to optimize max pattern with comparison when using a temporary variable https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96708 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED