]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[Darwin, testsuite] Skip pr72802.c.
authorIain Sandoe <iains@gcc.gnu.org>
Tue, 29 Oct 2019 20:09:40 +0000 (20:09 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Tue, 29 Oct 2019 20:09:40 +0000 (20:09 +0000)
As fallout from 19315, which is not fixed on this branch, the presence
of an unused static variable causes a 'promotion' of that to extern.
This produces wrong code on Darwin when Mach-O PIC is in use (m32 X86
and all PPC). So skip this unconditionally, as noted in the PR trail,
the usefulness of the test is questionable anyway.

gcc/testsuite/

2019-10-29  Iain Sandoe  <iain@sandoe.co.uk>

* gcc.c-torture/compile/pr72802.c: Skip for Darwin.

From-SVN: r277585

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr72802.c

index 8afe9297e469f375838ef91871d2951760e993da..2b792efb52d4a60265d24a070be49731a8f6c371 100644 (file)
@@ -1,4 +1,8 @@
-2019-10-27  Paul Thomas  <pault@gcc.gnu.org>
+2019-10-29  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * gcc.c-torture/compile/pr72802.c: Skip for Darwin.
+
+2019-10-29  Paul Thomas  <pault@gcc.gnu.org>
 
        Backport from mainline
        PR fortran/86248
index b9e1ab31580e795928b497f665fc0fb8b3634fa9..1e19577194ebd6853a7f23dd2bd6158d8edc468b 100644 (file)
@@ -1,3 +1,4 @@
+/* { dg-skip-if "see PR trail" { *-*-darwin* } } */
 static a[];
 static b, h, m, n, o, p, q, t, u, v, t5, t6, t16, t17, t18, t25;
 c;