]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[Darwin, testsuite] Fix PR27221.
authorIain Sandoe <iain@sandoe.co.uk>
Fri, 6 Sep 2019 16:03:42 +0000 (16:03 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Fri, 6 Sep 2019 16:03:42 +0000 (16:03 +0000)
The test can't succeed on 32b powerpc Darwin since the
ABI demands a different result to the tested one. (So XFAIL it).

2019-09-06  Iain Sandoe  <iain@sandoe.co.uk>

Backport from mainline.
2019-05-22  Iain Sandoe  <iain@sandoe.co.uk>

PR testsuite/27221
* g++.dg/ext/alignof2.C: XFAIL for 32bit Darwin.

From-SVN: r275469

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/alignof2.C

index ff52b2ec42af45a85ade1f9ee11e07035735b51d..d0f04388926b1381ed2eff6eef3296712edfaf5f 100644 (file)
@@ -1,3 +1,11 @@
+2019-09-06  Iain Sandoe  <iain@sandoe.co.uk>
+
+       Backport from mainline.
+       2019-05-22  Iain Sandoe  <iain@sandoe.co.uk>
+
+       PR testsuite/27221
+       * g++.dg/ext/alignof2.C: XFAIL for 32bit Darwin.
+
 2019-09-06  Iain Sandoe  <iain@sandoe.co.uk>
 
        Backport from mainline.
index 912863ea164610b3f6e5d6d0aedf0e9bb18122df..bd56cf627a4da32961a530ceb1c7def6a82ef945 100644 (file)
@@ -3,7 +3,7 @@
 // wrong for some fields.
 
 // { dg-do run }
-// { dg-xfail-run-if "AIX ABI increases struct alignment for first member double" { powerpc-ibm-aix* } { "*" } { "" } }
+// { dg-xfail-run-if "AIX/Darwin ABI increases struct alignment for first member double" { powerpc-ibm-aix* || { ilp32 && powerpc-*-darwin* } } }
 
 extern "C" void abort();