https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100182
--- Comment #29 from Uroš Bizjak <ubizjak at gmail dot com> --- (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.