https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103065 Bug 103065 depends on bug 103069, which changed state.
Bug 103069 Summary: cmpxchg isn't optimized https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103069 What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |---