From: John David Anglin Date: Sat, 29 Feb 2020 22:37:28 +0000 (+0000) Subject: Fix/skip various tests for hppa*-*-hpux*. X-Git-Tag: releases/gcc-9.3.0~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d00fd3cfc0e1a0cbee15c70dc6e95912a3086785;p=thirdparty%2Fgcc.git Fix/skip various tests for hppa*-*-hpux*. 2020-02-29 John David Anglin * 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*. --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 795e0733d410..4c7bd6dad526 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2020-02-29 John David Anglin + * 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*. diff --git a/gcc/testsuite/gcc.dg/pr90756.c b/gcc/testsuite/gcc.dg/pr90756.c index 3507aa29e70b..a4ba64acd729 100644 --- a/gcc/testsuite/gcc.dg/pr90756.c +++ b/gcc/testsuite/gcc.dg/pr90756.c @@ -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)))); diff --git a/gcc/testsuite/gcc.dg/torture/20190327-1.c b/gcc/testsuite/gcc.dg/torture/20190327-1.c index bb20e7fba99e..45093da768c4 100644 --- a/gcc/testsuite/gcc.dg/torture/20190327-1.c +++ b/gcc/testsuite/gcc.dg/torture/20190327-1.c @@ -1,4 +1,5 @@ /* { dg-do run } */ +/* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */ typedef long v2di __attribute__((vector_size(16))); v2di v; diff --git a/gcc/testsuite/gcc.dg/torture/pr90020.c b/gcc/testsuite/gcc.dg/torture/pr90020.c index 1748243852a8..27d1ea41dddb 100644 --- a/gcc/testsuite/gcc.dg/torture/pr90020.c +++ b/gcc/testsuite/gcc.dg/torture/pr90020.c @@ -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]* } } */