[Bug sanitizer/55561] TSAN: Fortran/OMP yields false positives

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 2 09:44:00 GMT 2013


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).



More information about the Gcc-bugs mailing list