http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54908
Bug #: 54908 Summary: misc regressions on emutls targets remain from dynamic initialization of non-function-local TLS variables Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassig...@gcc.gnu.org ReportedBy: howa...@nitro.med.uc.edu At r192374, a number of regressions from the introduction of dynamic initialization of non-function-local TLS variables still remain on emutls targets like x86_64-apple-darwin12. These include... FAIL: g++.dg/gomp/tls-5.C -std=c++11 (test for excess errors) FAIL: g++.dg/tls/thread_local-cse.C (test for excess errors) WARNING: g++.dg/tls/thread_local-cse.C compilation failed to produce executable FAIL: g++.dg/tls/thread_local-order1.C (test for excess errors) WARNING: g++.dg/tls/thread_local-order1.C compilation failed to produce executable FAIL: g++.dg/tls/thread_local-order2.C (test for excess errors) WARNING: g++.dg/tls/thread_local-order2.C compilation failed to produce executable FAIL: g++.dg/tls/thread_local2g.C (test for excess errors) WARNING: g++.dg/tls/thread_local2g.C compilation failed to produce executable FAIL: g++.dg/tls/thread_local3.C -std=gnu++11 execution test FAIL: g++.dg/tls/thread_local3g.C -std=gnu++11 (test for excess errors) WARNING: g++.dg/tls/thread_local3g.C -std=gnu++11 compilation failed to produce executable FAIL: g++.dg/tls/thread_local4.C -std=gnu++11 execution test FAIL: g++.dg/tls/thread_local4g.C -std=gnu++11 (test for excess errors) WARNING: g++.dg/tls/thread_local4g.C -std=gnu++11 compilation failed to produce executable FAIL: g++.dg/tls/thread_local5.C -std=gnu++11 execution test FAIL: g++.dg/tls/thread_local5g.C -std=gnu++11 (test for excess errors) WARNING: g++.dg/tls/thread_local5g.C -std=gnu++11 compilation failed to produce executable FAIL: g++.dg/tls/thread_local6g.C (test for excess errors) WARNING: g++.dg/tls/thread_local6g.C compilation failed to produce executable FAIL: g++.dg/tls/thread_local7g.C (test for excess errors) UNRESOLVED: g++.dg/tls/thread_local7g.C scan-assembler-not \\\\.data FAIL: libgomp.c++/pr24455.C -O0 (test for excess errors) WARNING: libgomp.c++/pr24455.C -O0 compilation failed to produce executable FAIL: libgomp.c++/pr24455.C -O1 (test for excess errors) WARNING: libgomp.c++/pr24455.C -O1 compilation failed to produce executable FAIL: libgomp.c++/pr24455.C -O2 (test for excess errors) WARNING: libgomp.c++/pr24455.C -O2 compilation failed to produce executable FAIL: libgomp.c++/pr24455.C -O3 -fomit-frame-pointer (test for excess errors) WARNING: libgomp.c++/pr24455.C -O3 -fomit-frame-pointer compilation failed to produce executable FAIL: libgomp.c++/pr24455.C -O3 -fomit-frame-pointer -funroll-loops (test for excess errors) WARNING: libgomp.c++/pr24455.C -O3 -fomit-frame-pointer -funroll-loops compilation failed to produce executable FAIL: libgomp.c++/pr24455.C -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions (test for excess errors) WARNING: libgomp.c++/pr24455.C -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions compilation failed to produce executable FAIL: libgomp.c++/pr24455.C -O3 -g (test for excess errors) WARNING: libgomp.c++/pr24455.C -O3 -g compilation failed to produce executable FAIL: libgomp.c++/pr24455.C -Os (test for excess errors) WARNING: libgomp.c++/pr24455.C -Os compilation failed to produce executable FAIL: libgomp.c++/tls-init1.C -O (test for excess errors) WARNING: libgomp.c++/tls-init1.C -O compilation failed to produce executable The failures all show warnings of the form... /sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121011/gcc/testsuite/g++.dg/tls/thread_local-cse.C:15:18: sorry, unimplemented: dynamic initialization of non-function-local thread_local variables not supported on this target