https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103069

--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> ---
nptl/pthread_create.c has

              do
                pd->nextevent = __nptl_last_event;
              while (atomic_compare_and_exchange_bool_acq (&__nptl_last_event,
                                                           pd, pd->nextevent));

we got

         8d1b7: 48 8b 05 da 55 16 00    mov    0x1655da(%rip),%rax        
         8d1be: 48 89 83 68 06 00 00    mov    %rax,0x668(%rbx)
         8d1c5: f0 4c 0f b1 35 ca 55    lock cmpxchg %r14,0x1655ca(%rip)        

         8d1ce: 75 e7                   jne    8d1b7
<pthread_create@@GLIBC_2.34
+0xb57>

Reply via email to