This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[testsuite] (committed) ignore possible warning in pr38586.C
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 07 Jan 2009 09:56:13 -0800
- Subject: [testsuite] (committed) ignore possible warning in pr38586.C
- Reply-to: janis187 at us dot ibm dot com
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)
{