public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] Skip some stackalign tests on hppa*-*-hpux*
@ 2010-12-09 22:49 John David Anglin
  0 siblings, 0 replies; only message in thread
From: John David Anglin @ 2010-12-09 22:49 UTC (permalink / raw)
  To: gcc-patches

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"
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-12-09 22:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-09 22:49 [committed] Skip some stackalign tests on hppa*-*-hpux* John David Anglin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).