aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanis Johnson <janis187@us.ibm.com>2009-04-02 18:00:28 +0000
committerJanis Johnson <janis187@us.ibm.com>2009-04-02 18:00:28 +0000
commitdd40f551abb673d8a02a79dbb6e1865226b77680 (patch)
treeb2fe2d64ccf41c8f9c87f33e4420fd50350b90fc
parent7e7f6433f013b8cb9f1ed0f49d907359c488498c (diff)
* gcc.dg/and-1.c: Restrict the targets for which the test is run
and XFAIL for powerpc and spu. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_4-branch@145462 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/testsuite/ChangeLog3
-rw-r--r--gcc/testsuite/gcc.dg/and-1.c7
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 387d0e5f4b9..16ed4c2e0e3 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,8 @@
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.
+
* gcc.target/powerpc/ppc64-double-1.c: XFAIL for lp64.
2009-04-01 Eric Botcazou <ebotcazou@adacore.com>
diff --git a/gcc/testsuite/gcc.dg/and-1.c b/gcc/testsuite/gcc.dg/and-1.c
index c66e4e15fac..c05e20512df 100644
--- a/gcc/testsuite/gcc.dg/and-1.c
+++ b/gcc/testsuite/gcc.dg/and-1.c
@@ -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)
{