]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix/skip various tests for hppa*-*-hpux*.
authorJohn David Anglin <danglin@gcc.gnu.org>
Sat, 29 Feb 2020 22:37:28 +0000 (22:37 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sat, 29 Feb 2020 22:39:20 +0000 (22:39 +0000)
2020-02-29  John David Anglin  <danglin@gcc.gnu.org>

* gcc.dg/pr90756.c: Add -fno-common option on hppa*-*-hpux*.
* gcc.dg/torture/20190327-1.c: Likewise.
* gcc.dg/torture/pr90020.c: Skip on hppa*-*-hpux*.

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr90756.c
gcc/testsuite/gcc.dg/torture/20190327-1.c
gcc/testsuite/gcc.dg/torture/pr90020.c

index 795e0733d4109b3bc13ba64a5fb25addc58631ff..4c7bd6dad526421e0bd68d91c7f3e54fb0cebff8 100644 (file)
@@ -1,5 +1,9 @@
 2020-02-29  John David Anglin  <danglin@gcc.gnu.org>
 
+       * gcc.dg/pr90756.c: Add -fno-common option on hppa*-*-hpux*.
+       * gcc.dg/torture/20190327-1.c: Likewise.
+       * gcc.dg/torture/pr90020.c: Skip on hppa*-*-hpux*.
+
        PR ada/91100
        * gnat.dg/socket1.adb: Disable on hppa*-*-hpux*.
 
index 3507aa29e70b1114c3929258d54f3f6f6663dc42..a4ba64acd729c2e3c352fd026b5706aeadcf64d3 100644 (file)
@@ -2,6 +2,7 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -Wno-psabi" } */
 /* { dg-additional-options "-mno-sse" { target ia32 } } */
+/* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */
 
 typedef float B __attribute__((vector_size(4 * sizeof (float))));
 typedef unsigned long long C __attribute__((vector_size(4 * sizeof (long long))));
index bb20e7fba99ef449ba2b14b7dd80a4c23b154f97..45093da768c4eb4e04ac168450edf1ec8357fa31 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do run } */
+/* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */
 
 typedef long v2di __attribute__((vector_size(16)));
 v2di v;
index 1748243852a8cc93cbcd53b22d5afcab4719c00c..27d1ea41dddbd6e0ec062c063b1c77359b8a140c 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do run } */
+/* { dg-skip-if "No undefined weak" { hppa*-*-hpux* } } */
 /* { dg-require-weak "" } */
 /* { dg-additional-options "-Wl,-undefined,dynamic_lookup" { target *-*-darwin* } } */
 /* { dg-additional-options "-Wl,-flat_namespace" { target *-*-darwin[89]* } } */