aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2019-03-16 17:48:14 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2019-03-16 17:48:14 +0000
commit733a21e17134526d8c6e3705a3b6e5e753089a5b (patch)
tree4dc38676e88e3d6c49dec9b289bcfd578710e07e
parent3c390eda35f889b554ce9f2765c12521769970c9 (diff)
downloadgcc-733a21e17134526d8c6e3705a3b6e5e753089a5b.zip
gcc-733a21e17134526d8c6e3705a3b6e5e753089a5b.tar.gz
gcc-733a21e17134526d8c6e3705a3b6e5e753089a5b.tar.bz2
builtin-has-attribute-4.c: Skip on 32-bit hppa*-*-hpux*.
* c-c++-common/builtin-has-attribute-4.c: Skip on 32-bit hppa*-*-hpux*. * gcc.dg/attr-copy-6.c: Likewise. * gcc.dg/pr87793.c: Likewise. From-SVN: r269731
-rw-r--r--gcc/testsuite/ChangeLog8
-rw-r--r--gcc/testsuite/c-c++-common/builtin-has-attribute-4.c1
-rw-r--r--gcc/testsuite/gcc.dg/attr-copy-6.c1
-rw-r--r--gcc/testsuite/gcc.dg/pr87793.c1
4 files changed, 9 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 83fe86f..319f17b 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,6 +1,10 @@
-2019-03-16 John David Anglin <danglin@gcc.gnu.org>
+2019-03-16 John David Anglin <danglin@gcc.gnu.org>
- PR testsuite/84941
+ * c-c++-common/builtin-has-attribute-4.c: Skip on 32-bit hppa*-*-hpux*.
+ * gcc.dg/attr-copy-6.c: Likewise.
+ * gcc.dg/pr87793.c: Likewise.
+
+ PR testsuite/89471
* gcc.dg/pr84941.c: Skip on hppa*-*-*.
* gcc.dg/Wattributes-10.c: Add -fno-common option on hppa*-*-hpux*.
diff --git a/gcc/testsuite/c-c++-common/builtin-has-attribute-4.c b/gcc/testsuite/c-c++-common/builtin-has-attribute-4.c
index 84c9892..a0681fa 100644
--- a/gcc/testsuite/c-c++-common/builtin-has-attribute-4.c
+++ b/gcc/testsuite/c-c++-common/builtin-has-attribute-4.c
@@ -1,5 +1,6 @@
/* Verify __builtin_has_attribute return value for variables.
{ dg-do compile }
+ { dg-skip-if "No section attribute" { { hppa*-*-hpux* } && { ! lp64 } } }
{ dg-options "-Wall -ftrack-macro-expansion=0" }
{ dg-options "-Wall -Wno-narrowing -Wno-unused -ftrack-macro-expansion=0" { target c++ } }
{ dg-additional-options "-DSKIP_ALIAS" { target *-*-darwin* } }
diff --git a/gcc/testsuite/gcc.dg/attr-copy-6.c b/gcc/testsuite/gcc.dg/attr-copy-6.c
index 17e714e..010db0d 100644
--- a/gcc/testsuite/gcc.dg/attr-copy-6.c
+++ b/gcc/testsuite/gcc.dg/attr-copy-6.c
@@ -1,5 +1,6 @@
/* PR middle-end/88546 - Copy attribute unusable for weakrefs
{ dg-do compile }
+ { dg-skip-if "Attributes not supported" { { hppa*-*-hpux* } && { ! lp64 } } }
{ dg-options "-O2 -Wall" }
{ dg-require-weak "" } */
diff --git a/gcc/testsuite/gcc.dg/pr87793.c b/gcc/testsuite/gcc.dg/pr87793.c
index 317847b..d767331 100644
--- a/gcc/testsuite/gcc.dg/pr87793.c
+++ b/gcc/testsuite/gcc.dg/pr87793.c
@@ -1,4 +1,5 @@
/* { dg-do compile } */
+/* { dg-skip-if "No section attribute" { { hppa*-*-hpux* } && { ! lp64 } } } */
/* { dg-options "-fpic -Os -g" } */
/* { dg-require-effective-target fpic } */