This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: XFAIL gcc.dg/cpp/_Pragma6.c on IRIX and Tru64 UNIX
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Janis Johnson <janis187 at us dot ibm dot com>
- Date: Tue, 26 Jan 2010 14:57:15 +0100
- Subject: PATCH: XFAIL gcc.dg/cpp/_Pragma6.c on IRIX and Tru64 UNIX
The gcc.dg/cpp/_Pragma6.c test fails on IRIX 5/6 and Tru64 UNIX since
both targets lack HANDLE_PRAGMA_PACK_PUSH_POP support, so XFAIL it.
Tested with
$ make -k RUNTESTFLAGS='cpp.exp=_Pragma6.c' check-gcc
on alpha-dec-osf4.0f and mips-sgi-irix6.5.
Ok for mainline?
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
2010-01-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* gcc.dg/cpp/_Pragma6.c: XFAIL on mips-sgi-irix*, alpha*-dec-osf*.
diff -r 639f1353c2b9 gcc/testsuite/gcc.dg/cpp/_Pragma6.c
--- a/gcc/testsuite/gcc.dg/cpp/_Pragma6.c Mon Jan 25 10:22:04 2010 +0000
+++ b/gcc/testsuite/gcc.dg/cpp/_Pragma6.c Tue Jan 26 13:58:13 2010 +0100
@@ -2,7 +2,7 @@
/* This is supposed to succeed only if
the target defines HANDLE_PRAGMA_PACK_PUSH_POP
and doesn't define HANDLE_PRAGMA_PACK_WITH_EXPANSION. */
-/* { dg-do compile { target { ! { powerpc-ibm-aix* *-*-solaris2* fido-*-* m68k-*-* sh*-[us]*-elf m32c-*-* *-*-vxworks moxie-*-* } } } } */
+/* { dg-do compile { target { ! { powerpc-ibm-aix* *-*-solaris2* fido-*-* m68k-*-* sh*-[us]*-elf m32c-*-* *-*-vxworks moxie-*-* mips-sgi-irix* alpha*-dec-osf* } } } } */
#define push bar
#define foo _Pragma ("pack(push)")