https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100182
--- Comment #31 from Uroš Bizjak <ubizjak at gmail dot com> --- (In reply to H.J. Lu from comment #30) > (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. OK, I will simply remove *all* these peephole2s.