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]

[PATCH] testsuite (committed): xfail error checks for ppc vect test


This test expects errors but, as recorded in PR18631, they are currently
missing.  Add xfail to the error checks.

Checked in on mainline.

2005-02-01  Janis Johnson  <janis187@us.ibm.com>

	* gcc.dg/ppc64-abi-3.c: Add xfail for error checks.

Index: gcc/testsuite/gcc.dg/ppc64-abi-3.c
===================================================================
RCS file: /opt/gcc-cvs/gcc/gcc/testsuite/gcc.dg/ppc64-abi-3.c,v
retrieving revision 1.3
diff -u -p -r1.3 ppc64-abi-3.c
--- gcc/testsuite/gcc.dg/ppc64-abi-3.c	15 Nov 2004 19:04:45 -0000	1.3
+++ gcc/testsuite/gcc.dg/ppc64-abi-3.c	21 Jan 2005 23:04:32 -0000
@@ -9,7 +9,7 @@ typedef int __attribute__((vector_size(8
 
 v4si 
 f(v4si v)
-{ /* { dg-error "altivec instructions are disabled" } */
+{ /* { dg-error "altivec instructions are disabled" "PR18631" { xfail *-*-* } } */
     return v;
 }
 
@@ -24,6 +24,7 @@ main()
 {
     v4si v;
     v2si w;
-    v = f (v); /* { dg-error "altivec instructions are disabled" } */
+    v = f (v); /* { dg-error "altivec instructions are disabled" "PR18631" { xfail *-*-* } } */
     w = g (w);
+    return 0;
 }


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