https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99986 Bug 99986 depends on bug 99776, which changed state.
Bug 99776 Summary: missed optimization for dead code elimination at -O3 (vs. -O1) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99776 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED