diff options
author | John David Anglin <danglin@gcc.gnu.org> | 2020-02-29 20:16:39 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2020-02-29 20:16:39 +0000 |
commit | 9f6dd268194d10c09a44396cb6e9041f6dd82fde (patch) | |
tree | 46c2db8961b9f59c97b1d05f06fa71e88d78b687 | |
parent | 38b1722d5d44c52e06a8694b8fa36793735e27d1 (diff) | |
download | gcc-9f6dd268194d10c09a44396cb6e9041f6dd82fde.zip gcc-9f6dd268194d10c09a44396cb6e9041f6dd82fde.tar.gz gcc-9f6dd268194d10c09a44396cb6e9041f6dd82fde.tar.bz2 |
Fix/skip various tests for hppa*-*-hpux*.
2020-02-29 John David Anglin <danglin@gcc.gnu.org>
* g++.dg/pr90981.C: Skip on hppa*-*-hpux*.
* gcc.dg/gnu2x-attrs-1.c: Add dg-require-alias.
* gcc.dg/pr90756.c: Add -fno-common option on hppa*-*-hpux*.
* gcc.dg/torture/20190327-1.c: Likewise.
* gcc.dg/spellcheck-options-21.c: Skip on 32-bit hppa*-*-hpux*.
* gcc.dg/strlenopt-68.c: Skip on hppa*-*-hpux*.
* gcc.dg/torture/pr90020.c: Likewise.
* gcc.dg/ucnid-16-utf8.c: Add dg-require-iconv "latin1".
-rw-r--r-- | gcc/testsuite/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/pr90981.C | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/gnu2x-attrs-1.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/pr90756.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/spellcheck-options-21.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/strlenopt-68.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/torture/20190327-1.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/torture/pr90020.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/ucnid-16-utf8.c | 1 |
9 files changed, 17 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4144c26..b6c59c6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,14 @@ 2020-02-29 John David Anglin <danglin@gcc.gnu.org> + * g++.dg/pr90981.C: Skip on hppa*-*-hpux*. + * gcc.dg/gnu2x-attrs-1.c: Add dg-require-alias. + * gcc.dg/pr90756.c: Add -fno-common option on hppa*-*-hpux*. + * gcc.dg/torture/20190327-1.c: Likewise. + * gcc.dg/spellcheck-options-21.c: Skip on 32-bit hppa*-*-hpux*. + * gcc.dg/strlenopt-68.c: Skip on hppa*-*-hpux*. + * gcc.dg/torture/pr90020.c: Likewise. + * gcc.dg/ucnid-16-utf8.c: Add dg-require-iconv "latin1". + PR ipa/92548 * gcc.dg/ipa/ipa-sra-12.c: xfail parameter split test on 32-bit hppa*-*-hpux*. diff --git a/gcc/testsuite/g++.dg/pr90981.C b/gcc/testsuite/g++.dg/pr90981.C index 5a27302..b88d6e8 100644 --- a/gcc/testsuite/g++.dg/pr90981.C +++ b/gcc/testsuite/g++.dg/pr90981.C @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-skip-if "No dwarf debug support" { hppa*-*-hpux* } } */ /* { dg-options "-O2 -g -gdwarf-5 -gsplit-dwarf" } */ /* No addresses in the DWARF, so no .debug_addr section, diff --git a/gcc/testsuite/gcc.dg/gnu2x-attrs-1.c b/gcc/testsuite/gcc.dg/gnu2x-attrs-1.c index 87bdaec..2007911 100644 --- a/gcc/testsuite/gcc.dg/gnu2x-attrs-1.c +++ b/gcc/testsuite/gcc.dg/gnu2x-attrs-1.c @@ -1,6 +1,7 @@ /* Test C2x attribute syntax. Test GNU attributes appertain to appropriate constructs. */ /* { dg-do compile } */ +/* { dg-require-alias "" } */ /* { dg-options "-std=gnu2x" } */ void f (void) {}; diff --git a/gcc/testsuite/gcc.dg/pr90756.c b/gcc/testsuite/gcc.dg/pr90756.c index 3507aa2..a4ba64a 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/spellcheck-options-21.c b/gcc/testsuite/gcc.dg/spellcheck-options-21.c index 3e0e8a8..92fcb02 100644 --- a/gcc/testsuite/gcc.dg/spellcheck-options-21.c +++ b/gcc/testsuite/gcc.dg/spellcheck-options-21.c @@ -1,3 +1,4 @@ /* { dg-do compile } */ +/* { dg-skip-if "-flto not supported" { { hppa*-*-hpux* } && { ! lp64 } } } */ /* { dg-options "-flto=sparta" } */ /* { dg-error "unrecognized argument to '-flto=' option: 'sparta'" "" { target *-*-* } 0 } */ diff --git a/gcc/testsuite/gcc.dg/strlenopt-68.c b/gcc/testsuite/gcc.dg/strlenopt-68.c index 56d314e..f77162f 100644 --- a/gcc/testsuite/gcc.dg/strlenopt-68.c +++ b/gcc/testsuite/gcc.dg/strlenopt-68.c @@ -3,6 +3,7 @@ the expected result regardless of the order of the expression operands. { dg-do run } + { dg-skip-if "UNIX 2003 return behavior not supported" { hppa*-*-hpux* } } { dg-options "-O2 -Wall" } */ #include "strlenopt.h" diff --git a/gcc/testsuite/gcc.dg/torture/20190327-1.c b/gcc/testsuite/gcc.dg/torture/20190327-1.c index bb20e7f..45093da 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 1748243..27d1ea4 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]* } } */ diff --git a/gcc/testsuite/gcc.dg/ucnid-16-utf8.c b/gcc/testsuite/gcc.dg/ucnid-16-utf8.c index 5d000a0..0b9befa 100644 --- a/gcc/testsuite/gcc.dg/ucnid-16-utf8.c +++ b/gcc/testsuite/gcc.dg/ucnid-16-utf8.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-iconv "latin1" } */ /* { dg-options "-std=c99 -g -finput-charset=latin1" } */ /* { dg-final { scan-file ucnid-16-utf8.s "²" } } */ |