------- Comment #53 from dominiq at lps dot ens dot fr 2010-06-02 20:39 ------- > Created an attachment (id=20814) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20814&action=view) [edit] > adds some TLS torture tests to gcc.dg > > Hm - the "placeholder, temporary" fix for EMUTLS doesn't appear to work with > optimization on.. :(
For make -k check-gcc RUNTESTFLAGS="tls.exp=* --target_board=unix'{-m32,-m64}'", I get === gcc tests === Running target unix/-m32 Using /sw64/share/dejagnu/baseboards/unix.exp as board description file for target. Using /sw64/share/dejagnu/config/unix.exp as generic interface file for target. Using /opt/gcc/work/gcc/testsuite/config/default.exp as tool-and-target-specific interface file. Running /opt/gcc/work/gcc/testsuite/gcc.dg/tls/tls.exp ... Running /opt/gcc/work/gcc/testsuite/gcc.dg/torture/tls/tls.exp ... FAIL: gcc.dg/torture/tls/tls-test.c -O3 -fomit-frame-pointer execution test FAIL: gcc.dg/torture/tls/tls-test.c -O3 -g execution test FAIL: gcc.dg/torture/tls/tls-test.c -O2 -flto (test for excess errors) WARNING: gcc.dg/torture/tls/tls-test.c -O2 -flto compilation failed to produce executable FAIL: gcc.dg/torture/tls/tls-test.c -O2 -fwhopr (test for excess errors) WARNING: gcc.dg/torture/tls/tls-test.c -O2 -fwhopr compilation failed to produce executable === gcc Summary for unix/-m32 === # of expected passes 97 # of unexpected failures 4 # of unsupported tests 13 Running target unix/-m64 Using /sw64/share/dejagnu/baseboards/unix.exp as board description file for target. Using /sw64/share/dejagnu/config/unix.exp as generic interface file for target. Using /opt/gcc/work/gcc/testsuite/config/default.exp as tool-and-target-specific interface file. Running /opt/gcc/work/gcc/testsuite/gcc.dg/tls/tls.exp ... Running /opt/gcc/work/gcc/testsuite/gcc.dg/torture/tls/tls.exp ... FAIL: gcc.dg/torture/tls/thr-init-1.c -O2 -flto execution test FAIL: gcc.dg/torture/tls/thr-init-1.c -O2 -fwhopr execution test FAIL: gcc.dg/torture/tls/thr-init-2.c -O2 -flto execution test FAIL: gcc.dg/torture/tls/thr-init-2.c -O2 -fwhopr execution test FAIL: gcc.dg/torture/tls/tls-test.c -O2 -flto (test for excess errors) WARNING: gcc.dg/torture/tls/tls-test.c -O2 -flto compilation failed to produce executable FAIL: gcc.dg/torture/tls/tls-test.c -O2 -fwhopr (test for excess errors) WARNING: gcc.dg/torture/tls/tls-test.c -O2 -fwhopr compilation failed to produce executable === gcc Summary for unix/-m64 === # of expected passes 95 # of unexpected failures 6 # of unsupported tests 13 === gcc Summary === # of expected passes 192 # of unexpected failures 10 # of unsupported tests 26 or Running target unix/-m32 Using /sw64/share/dejagnu/baseboards/unix.exp as board description file for target. Using /sw64/share/dejagnu/config/unix.exp as generic interface file for target. Using /opt/gcc/work/gcc/testsuite/config/default.exp as tool-and-target-specific interface file. Running /opt/gcc/work/gcc/testsuite/gcc.dg/tls/tls.exp ... Running /opt/gcc/work/gcc/testsuite/gcc.dg/torture/tls/tls.exp ... FAIL: gcc.dg/torture/tls/tls-test.c -O2 execution test FAIL: gcc.dg/torture/tls/tls-test.c -O3 -fomit-frame-pointer execution test FAIL: gcc.dg/torture/tls/tls-test.c -O2 -flto (test for excess errors) WARNING: gcc.dg/torture/tls/tls-test.c -O2 -flto compilation failed to produce executable FAIL: gcc.dg/torture/tls/tls-test.c -O2 -fwhopr (test for excess errors) WARNING: gcc.dg/torture/tls/tls-test.c -O2 -fwhopr compilation failed to produce executable === gcc Summary for unix/-m32 === # of expected passes 97 # of unexpected failures 4 # of unsupported tests 13 Running target unix/-m64 Using /sw64/share/dejagnu/baseboards/unix.exp as board description file for target. Using /sw64/share/dejagnu/config/unix.exp as generic interface file for target. Using /opt/gcc/work/gcc/testsuite/config/default.exp as tool-and-target-specific interface file. Running /opt/gcc/work/gcc/testsuite/gcc.dg/tls/tls.exp ... Running /opt/gcc/work/gcc/testsuite/gcc.dg/torture/tls/tls.exp ... FAIL: gcc.dg/torture/tls/thr-init-1.c -O2 -flto execution test FAIL: gcc.dg/torture/tls/thr-init-1.c -O2 -fwhopr execution test FAIL: gcc.dg/torture/tls/thr-init-2.c -O2 -flto execution test FAIL: gcc.dg/torture/tls/thr-init-2.c -O2 -fwhopr execution test FAIL: gcc.dg/torture/tls/tls-test.c -O3 -fomit-frame-pointer execution test FAIL: gcc.dg/torture/tls/tls-test.c -O2 -flto (test for excess errors) WARNING: gcc.dg/torture/tls/tls-test.c -O2 -flto compilation failed to produce executable FAIL: gcc.dg/torture/tls/tls-test.c -O2 -fwhopr (test for excess errors) WARNING: gcc.dg/torture/tls/tls-test.c -O2 -fwhopr compilation failed to produce executable === gcc Summary for unix/-m64 === # of expected passes 94 # of unexpected failures 7 # of unsupported tests 13 === gcc Summary === # of expected passes 191 # of unexpected failures 11 # of unsupported tests 26 /opt/gcc/build_w/gcc/xgcc version 4.6.0 20100602 (experimental) [trunk revision 160166p3] (GCC) with some random failures. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43170