]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[Darwin, testsuite] Fix PR 79274
authorIain Sandoe <iain@sandoe.co.uk>
Sun, 3 Nov 2019 08:23:33 +0000 (08:23 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Sun, 3 Nov 2019 08:23:33 +0000 (08:23 +0000)
The solution for initialising global TLS variables does not apply
to platforms using emulated TLS.  XFAIL the test for this on Darwin.

2019-11-03  Iain Sandoe  <iain@sandoe.co.uk>

PR c++/79274
* g++.dg/tls/pr77285-2.C: XFAIL test for Darwin.

From-SVN: r277751

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tls/pr77285-2.C

index 6d89463fe4ba4ebe459bbac2f9d3ccfe40006d59..23202437ca965546244591b8b834d2f8cbd288d4 100644 (file)
@@ -1,3 +1,8 @@
+2019-11-03  Iain Sandoe  <iain@sandoe.co.uk>
+
+       PR c++/79274
+       * g++.dg/tls/pr77285-2.C: XFAIL test for Darwin.
+
 2019-11-02  Iain Sandoe  <iain@sandoe.co.uk>
 
        Backport from mainline
index bac273a4d6837dee589cb7a130d18168f1e502c8..459ecc6555df6a0f1c14858abcf2bd8f0f97292a 100644 (file)
@@ -3,7 +3,7 @@
 // { dg-require-effective-target tls }
 // { dg-final { scan-assembler "_Z4var1B3tag" } }
 // { dg-final { scan-assembler "_Z4var2B3tag" } }
-// { dg-final { scan-assembler "_ZTH4var1B3tag" } }
+// { dg-final { scan-assembler "_ZTH4var1B3tag" { xfail *-*-darwin* } } }
 // { dg-final { scan-assembler "_ZTW4var1B3tag" } }
 
 struct __attribute__((abi_tag("tag"))) X { ~X () {} int i = 0; };