https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100182
--- Comment #30 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Uroš Bizjak from comment #29) > (In reply to H.J. Lu from comment #28) > > 29_atomics/atomic_ref/wait_notify.c has the same issue on Linux/x86-64 with > > -m32: > > Are you sure? The mentioned peephole2 patterns now emit only x87 or SSE > DFmode loads/stores that are guaranteed to be atomic. It does happen, but not very often.