This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[4.4 testsuite] XFAIL gcc.dg/and-1.c for powerpc and spu


This test has failed on powerpc and spu since it was added, as documented
in PR tree-optimization/33512.  The patch, for the 4.4 branch only,
restricts the test to the targets to which the assembler code is scanned
and XFAILs those scans.  Tested on powerpc64-linux with -m32/-m64.
Checked in on the 4.4 branch.

2009-04-02  Janis Johnson  <janis187@us.ibm.com>

	* gcc.dg/and-1.c: Restrict the targets for which the test is run
	and XFAIL for powerpc and spu.

Index: gcc/testsuite/gcc.dg/and-1.c
===================================================================
--- gcc/testsuite/gcc.dg/and-1.c	(revision 145433)
+++ gcc/testsuite/gcc.dg/and-1.c	(working copy)
@@ -1,8 +1,9 @@
-/* { dg-do compile } */
+/* { dg-do compile { target powerpc*-*-* spu-*-* } } */
 /* { dg-options "-O2" } */
-/* { dg-final { scan-assembler "and" { target powerpc*-*-* spu-*-* } } } */
+/* { dg-final { scan-assembler "and" } } */
 /* There should be no nand for this testcase (for either PPC or SPU). */
-/* { dg-final { scan-assembler-not "nand" { target powerpc*-*-* spu-*-* } } } */
+/* xfail: PR tree-optimization/33512  */
+/* { dg-final { scan-assembler-not "nand" { xfail *-*-* } } } */
 
 int f(int y)
 {



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]