https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19987 Bug 19987 depends on bug 96542, which changed state.
Bug 96542 Summary: Failure to optimize simple code to a constant when storing part of the operation in a variable https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96542 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED