On x86_64-apple-darwin10 The following tests: g++.dg/gomp/tls-5.C g++.dg/tls/thread_local-cse.C g++.dg/tls/thread_local-order*.C g++.dg/tls/thread_local*g.C
fail with sorry, unimplemented: dynamic initialization of non-function-local thread_local variables not supported on this target In addition, I see FAIL: g++.dg/tls/thread_local3.C -std=gnu++11 execution test FAIL: g++.dg/tls/thread_local4.C -std=gnu++11 execution test FAIL: g++.dg/tls/thread_local7.C scan-assembler-not \\.data and FAIL: g++.dg/tls/static-1.C * for the latter, the error is Undefined symbols: "TLS init function for A::i", referenced from: test() in ccNTapVf.o test() in ccNTapVf.o __ZTHN1A1iE$non_lazy_ptr in ccNTapVf.o TIA Dominique