https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59994 Bug 59994 depends on bug 78940, which changed state.
Bug 78940 Summary: [missed optimization] Useless guard variable in thread_local defaulted constructor https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78940 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED