[committed] Skip some stackalign tests on hppa*-*-hpux*

John David Anglin dave@hiauly1.hia.nrc.ca
Thu Dec 9 22:49:00 GMT 2010


The following patch skips the stackalign tests that fail on hppa*-*-hpux*
because of insufficient runtime alignment.  We only have 8-byte alignment
on hpux10 and 16-byte alignment on hpux11.  Tested on hppa2.0w-hp-hpux11.11.
Committed to trunk.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

2010-12-09  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

	PR target/46057
	* gcc.dg/torture/stackalign/nested-1.c: Skip on hppa*-*-hpux*.
	* gcc.dg/torture/stackalign/vararg-1.c: Likewise.
	* gcc.dg/torture/stackalign/nested-2.c: Likewise.
	* gcc.dg/torture/stackalign/vararg-2.c: Likewise.
	* gcc.dg/torture/stackalign/nested-3.c: Likewise.
	* gcc.dg/torture/stackalign/nested-4.c: Likewise.
	* gcc.dg/torture/stackalign/global-1.c: Likewise.
	* gcc.dg/torture/stackalign/ret-struct-1.c: Likewise.
	* gcc.dg/torture/stackalign/inline-1.c: Likewise.
	* gcc.dg/torture/stackalign/inline-2.c: Likewise.
	* gcc.dg/torture/stackalign/struct-1.c: Likewise.
	* gcc.dg/torture/stackalign/pr16660-1.c: Likewise.
	* gcc.dg/torture/stackalign/alloca-1.c: Likewise.
	* g++.dg/torture/stackalign/throw-1.C: Likewise.
	* g++.dg/torture/stackalign/throw-2.C: Likewise.
	* g++.dg/torture/stackalign/throw-4.C: Likewise.
	* g++.dg/torture/stackalign/eh-inline-1.C: Likewise.
	* g++.dg/torture/stackalign/eh-inline-2.C: Likewise.
	* g++.dg/torture/stackalign/eh-vararg-1.C: Likewise.
	* g++.dg/torture/stackalign/eh-vararg-2.C: Likewise.
	* g++.dg/torture/stackalign/eh-alloca-1.C: Likewise.
	* g++.dg/torture/stackalign/eh-global-1.C: Likewise.

Index: gcc.dg/torture/stackalign/nested-1.c
===================================================================
--- gcc.dg/torture/stackalign/nested-1.c	(revision 167588)
+++ gcc.dg/torture/stackalign/nested-1.c	(working copy)
@@ -1,4 +1,5 @@
 /* { dg-do run } */
+/* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } "*" "" } */
 
 #include "check.h"
 
Index: gcc.dg/torture/stackalign/vararg-1.c
===================================================================
--- gcc.dg/torture/stackalign/vararg-1.c	(revision 167588)
+++ gcc.dg/torture/stackalign/vararg-1.c	(working copy)
@@ -1,4 +1,5 @@
 /* { dg-do run } */
+/* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } "*" "" } */
 
 #include <stdarg.h>
 #include "check.h"
Index: gcc.dg/torture/stackalign/nested-2.c
===================================================================
--- gcc.dg/torture/stackalign/nested-2.c	(revision 167588)
+++ gcc.dg/torture/stackalign/nested-2.c	(working copy)
@@ -1,4 +1,5 @@
 /* { dg-do run } */
+/* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } "*" "" } */
 
 #include "check.h"
 
Index: gcc.dg/torture/stackalign/vararg-2.c
===================================================================
--- gcc.dg/torture/stackalign/vararg-2.c	(revision 167588)
+++ gcc.dg/torture/stackalign/vararg-2.c	(working copy)
@@ -1,4 +1,5 @@
 /* { dg-do run } */
+/* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } "*" "" } */
 
 #include <stdarg.h>
 #include "check.h"
Index: gcc.dg/torture/stackalign/nested-3.c
===================================================================
--- gcc.dg/torture/stackalign/nested-3.c	(revision 167588)
+++ gcc.dg/torture/stackalign/nested-3.c	(working copy)
@@ -1,4 +1,5 @@
 /* { dg-do run } */
+/* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } "*" "" } */
 
 #include "check.h"
 
Index: gcc.dg/torture/stackalign/nested-4.c
===================================================================
--- gcc.dg/torture/stackalign/nested-4.c	(revision 167588)
+++ gcc.dg/torture/stackalign/nested-4.c	(working copy)
@@ -1,4 +1,5 @@
 /* { dg-do run } */
+/* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } "*" "" } */
 
 #include "check.h"
 
Index: gcc.dg/torture/stackalign/global-1.c
===================================================================
--- gcc.dg/torture/stackalign/global-1.c	(revision 167588)
+++ gcc.dg/torture/stackalign/global-1.c	(working copy)
@@ -1,4 +1,5 @@
 /* { dg-do run } */
+/* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } "*" "" } */
 
 #include "check.h"
 
Index: gcc.dg/torture/stackalign/ret-struct-1.c
===================================================================
--- gcc.dg/torture/stackalign/ret-struct-1.c	(revision 167588)
+++ gcc.dg/torture/stackalign/ret-struct-1.c	(working copy)
@@ -1,4 +1,6 @@
 /* { dg-do run } */
+/* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } "*" "" } */
+
 #include "check.h"
 
 #ifndef ALIGNMENT
Index: gcc.dg/torture/stackalign/inline-1.c
===================================================================
--- gcc.dg/torture/stackalign/inline-1.c	(revision 167588)
+++ gcc.dg/torture/stackalign/inline-1.c	(working copy)
@@ -1,4 +1,5 @@
 /* { dg-do run } */
+/* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } "*" "" } */
 
 #include "check.h"
 
Index: gcc.dg/torture/stackalign/inline-2.c
===================================================================
--- gcc.dg/torture/stackalign/inline-2.c	(revision 167588)
+++ gcc.dg/torture/stackalign/inline-2.c	(working copy)
@@ -1,4 +1,5 @@
 /* { dg-do run } */
+/* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } "*" "" } */
 
 #include "check.h"
 
Index: gcc.dg/torture/stackalign/struct-1.c
===================================================================
--- gcc.dg/torture/stackalign/struct-1.c	(revision 167588)
+++ gcc.dg/torture/stackalign/struct-1.c	(working copy)
@@ -1,4 +1,5 @@
 /* { dg-do run } */
+/* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } "*" "" } */
 
 #include "check.h"
 
Index: gcc.dg/torture/stackalign/pr16660-1.c
===================================================================
--- gcc.dg/torture/stackalign/pr16660-1.c	(revision 167588)
+++ gcc.dg/torture/stackalign/pr16660-1.c	(working copy)
@@ -1,4 +1,5 @@
 /* { dg-do run } */
+/* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } "*" "" } */
 
 #include "check.h"
 
Index: gcc.dg/torture/stackalign/alloca-1.c
===================================================================
--- gcc.dg/torture/stackalign/alloca-1.c	(revision 167663)
+++ gcc.dg/torture/stackalign/alloca-1.c	(working copy)
@@ -1,4 +1,5 @@
 /* { dg-do run } */
+/* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } "*" "" } */
 
 #include "check.h"
 
Index: g++.dg/torture/stackalign/throw-1.C
===================================================================
--- g++.dg/torture/stackalign/throw-1.C	(revision 167588)
+++ g++.dg/torture/stackalign/throw-1.C	(working copy)
@@ -1,4 +1,5 @@
 /* { dg-do run } */
+/* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } "*" "" } */
 
 #include "check.h"
 
Index: g++.dg/torture/stackalign/throw-2.C
===================================================================
--- g++.dg/torture/stackalign/throw-2.C	(revision 167588)
+++ g++.dg/torture/stackalign/throw-2.C	(working copy)
@@ -1,4 +1,5 @@
 /* { dg-do run } */
+/* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } "*" "" } */
 
 #include "check.h"
 
Index: g++.dg/torture/stackalign/throw-4.C
===================================================================
--- g++.dg/torture/stackalign/throw-4.C	(revision 167588)
+++ g++.dg/torture/stackalign/throw-4.C	(working copy)
@@ -1,4 +1,5 @@
 /* { dg-do run } */
+/* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } "*" "" } */
 
 #include "check.h"
 
Index: g++.dg/torture/stackalign/eh-inline-1.C
===================================================================
--- g++.dg/torture/stackalign/eh-inline-1.C	(revision 167588)
+++ g++.dg/torture/stackalign/eh-inline-1.C	(working copy)
@@ -1,4 +1,5 @@
 /* { dg-do run } */
+/* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } "*" "" } */
 
 #include "check.h"
 
Index: g++.dg/torture/stackalign/eh-inline-2.C
===================================================================
--- g++.dg/torture/stackalign/eh-inline-2.C	(revision 167588)
+++ g++.dg/torture/stackalign/eh-inline-2.C	(working copy)
@@ -1,4 +1,5 @@
 /* { dg-do run } */
+/* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } "*" "" } */
 
 #include "check.h"
 
Index: g++.dg/torture/stackalign/eh-vararg-1.C
===================================================================
--- g++.dg/torture/stackalign/eh-vararg-1.C	(revision 167588)
+++ g++.dg/torture/stackalign/eh-vararg-1.C	(working copy)
@@ -1,4 +1,5 @@
 /* { dg-do run } */
+/* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } "*" "" } */
 
 #include <stdarg.h>
 #include "check.h"
Index: g++.dg/torture/stackalign/eh-vararg-2.C
===================================================================
--- g++.dg/torture/stackalign/eh-vararg-2.C	(revision 167588)
+++ g++.dg/torture/stackalign/eh-vararg-2.C	(working copy)
@@ -1,5 +1,6 @@
 /* { dg-options "-Wno-abi" {target arm_eabi} } */
 /* { dg-do run } */
+/* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } "*" "" } */
 
 #include <stdarg.h>
 #include "check.h"
Index: g++.dg/torture/stackalign/eh-alloca-1.C
===================================================================
--- g++.dg/torture/stackalign/eh-alloca-1.C	(revision 167588)
+++ g++.dg/torture/stackalign/eh-alloca-1.C	(working copy)
@@ -1,4 +1,5 @@
 /* { dg-do run } */
+/* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } "*" "" } */
 
 #include "check.h"
 
Index: g++.dg/torture/stackalign/eh-global-1.C
===================================================================
--- g++.dg/torture/stackalign/eh-global-1.C	(revision 167588)
+++ g++.dg/torture/stackalign/eh-global-1.C	(working copy)
@@ -1,4 +1,5 @@
 /* { dg-do run } */
+/* { dg-skip-if "Stack alignment is too small" { hppa*-*-hpux* } "*" "" } */
 
 #include "check.h"
 



More information about the Gcc-patches mailing list