diff mbox series

[committed] Skip tests on 32-bit hppa*-*-hpux* with unsupported attributes

Message ID 61d1cf2c-4962-b11e-31a6-e8409b09effe@bell.net
State New
Headers show
Series [committed] Skip tests on 32-bit hppa*-*-hpux* with unsupported attributes | expand

Commit Message

John David Anglin March 16, 2019, 5:55 p.m. UTC
Committed to trunk.

Dave
diff mbox series

Patch

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 } */