http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55561
--- Comment #33 from Dmitry Vyukov <dvyukov at google dot com> 2013-01-08 09:17:31 UTC --- (In reply to comment #32) > (In reply to comment #30) > > The formatting in the patch is wrong (multiple issues). > > I've tried to fix them in the version below. > > It would be really cool to have -fopenmp -fsanitize=thread to work > out-of-the-box with gcc. Agree. Can you sent it to review? You can also mention that it fixes issue 40362.