Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net
2019-03-16 John David Anglin <dang...@gcc.gnu.org> * 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. Index: c-c++-common/builtin-has-attribute-4.c =================================================================== --- c-c++-common/builtin-has-attribute-4.c (revision 269717) +++ c-c++-common/builtin-has-attribute-4.c (working copy) @@ -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* } } Index: gcc.dg/attr-copy-6.c =================================================================== --- gcc.dg/attr-copy-6.c (revision 269717) +++ gcc.dg/attr-copy-6.c (working copy) @@ -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 "" } */ Index: gcc.dg/pr87793.c =================================================================== --- gcc.dg/pr87793.c (revision 269717) +++ gcc.dg/pr87793.c (working copy) @@ -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 } */