https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92932 Bug 92932 depends on bug 54666, which changed state.
Bug 54666 Summary: when do lto opitimizing with attribute (weak,alias), it will produce wrong code https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54666 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED