https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111148 Bug 111148 depends on bug 118483, which changed state.
Bug 118483 Summary: [12/13/14/15 Regression] Missed optimization due to cast being used more than once https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118483 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED