http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55561
--- Comment #30 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-01-02 09:43:29 UTC --- The formatting in the patch is wrong (multiple issues). I don't see a point in the __atomic_load_n (addr, MEMMODEL_RELAXED), for aligned ints or pointers the loads are atomic on all architectures libgomp is supported on, after all kernel is also using just a normal load in the futex syscall, not __atomic_load_n (which expands to the normal load only anyway).