------- Comment #3 from pinskia at gcc dot gnu dot org 2009-06-07 06:22 ------- Except this is a false positive as thread 4 is not created when the thread 2 writes to *thr. It looks like valgrind does not know what is happening here really.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40362