PATCH: XFAIL gcc.dg/cpp/_Pragma6.c on IRIX and Tru64 UNIX
Rainer Orth
ro@CeBiTec.Uni-Bielefeld.DE
Tue Jan 26 14:02:00 GMT 2010
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)")
More information about the Gcc-patches
mailing list