https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89180 Bug 89180 depends on bug 99588, which changed state.
Bug 99588 Summary: variable set but not used warning on static _Atomic assignment https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99588 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED