https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105708
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Oh one more note, the performance of the initialization code is going to be very minor. So fixing this won't change the overall performance. This is again a minor issue and you still might end up with LL/SC style atomics in userland code, especially if you use older compilers or use golang or use clang/LLVM. Or use a custom compiler. Again this is a bug in RR in that it cannot handle LL/SC style atomics.