[testsuite] (committed) ignore possible warning in pr38586.C

Janis Johnson janis187@us.ibm.com
Wed Jan 7 18:06:00 GMT 2009


GCC sometimes warns about passing or returning generic vectors on
powerpc*-linux.  Ignore that warning in a new test.

Tested on powerpc64-linux with -m32/-m64, checked in on mainline.

2009-01-07  Janis Johnson  <janis187@us.ibm.com>

	* g++.dg/torture/pr38586.C: Ignore a possible warning.

Index: gcc/testsuite/g++.dg/torture/pr38565.C
===================================================================
--- gcc/testsuite/g++.dg/torture/pr38565.C	(revision 143128)
+++ gcc/testsuite/g++.dg/torture/pr38565.C	(working copy)
@@ -1,4 +1,6 @@
 // { dg-do compile }
+// Ignore warning on some powerpc-linux configurations.
+// { dg-prune-output "non-standard ABI extension" }
 #define vector __attribute__((vector_size(16) ))
 vector unsigned int f(int a)
 {




More information about the Gcc-patches mailing list