[committed] Skip gcc.dg/ucnid-1[12].c on hppa*-*-hpux* (32-bit)

John David Anglin dave@hiauly1.hia.nrc.ca
Fri Jul 31 00:00:00 GMT 2009


32-bit hppa*-*-hpux* doesn't support -ffunction-sections/-fdata-sections.
As ucnid-1[12].c tests duplicate tests without the above options, there
is no point in running them on this target.

Tested with hppa2.0w-hp-hpux11.11 and hppa64-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)

2009-07-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

	* gcc.dg/ucnid-11.c: Skip on hppa*-*-hpux* (32-bit).
	* gcc.dg/ucnid-12.c: Likewise.

Index: gcc.dg/ucnid-11.c
===================================================================
--- gcc.dg/ucnid-11.c	(revision 150228)
+++ gcc.dg/ucnid-11.c	(working copy)
@@ -1,5 +1,6 @@
 /* { dg-do run } */
 /* { dg-xfail-if "" { powerpc-ibm-aix* *-*-solaris2.* } { "*" } { "" } } */
+/* { dg-skip-if "-fdata-sections not supported" { { hppa*-*-hpux* } && { ! hppa*64*-*-* } } { "*" } { "" } } */
 /* { dg-options "-std=c99 -fextended-identifiers -fdata-sections" } */
 
 #include "ucnid-3.c"
Index: gcc.dg/ucnid-12.c
===================================================================
--- gcc.dg/ucnid-12.c	(revision 150228)
+++ gcc.dg/ucnid-12.c	(working copy)
@@ -1,5 +1,6 @@
 /* { dg-do run } */
 /* { dg-xfail-if "" { powerpc-ibm-aix* *-*-solaris2.* } { "*" } { "" } } */
+/* { dg-skip-if "-ffunction-sections not supported" { { hppa*-*-hpux* } && { ! hppa*64*-*-* } } { "*" } { "" } } */
 /* { dg-options "-std=c99 -fextended-identifiers -ffunction-sections" } */
 
 #include "ucnid-4.c"



More information about the Gcc-patches mailing list