From 733a21e17134526d8c6e3705a3b6e5e753089a5b Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Sat, 16 Mar 2019 17:48:14 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 8 ++++++-- gcc/testsuite/c-c++-common/builtin-has-attribute-4.c | 1 + gcc/testsuite/gcc.dg/attr-copy-6.c | 1 + gcc/testsuite/gcc.dg/pr87793.c | 1 + 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 83fe86fc895..319f17be4fb 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,6 +1,10 @@ -2019-03-16 John David Anglin +2019-03-16 John David Anglin - 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 84c9892baaa..a0681fa6980 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 17e714e2e4c..010db0d508a 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 317847bad21..d7673316d39 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 } */ -- 2.30.2