This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH,testsuite] add powerpc*-*-eabi* exception for gcc.dg/pr34856.c
On Thu, Jan 08, 2009 at 10:16:38AM -0800, Janis Johnson wrote:
> OK, or better yet, remove the existing dg-options that adds -w
> and add:
>
> +// Ignore warning on some powerpc configurations.
> +// { dg-prune-output "non-standard ABI extension" }
>
> That's what I've been doing on other tests that get that warning.
Thanks, committed thusly.
-Nathan
2009-01-08 Nathan Froyd <froydnj@codesourcery.com>
* gcc.dg/pr34856.c: Ignore irrelevant warning.
Index: gcc.dg/pr34856.c
===================================================================
--- gcc.dg/pr34856.c (revision 143188)
+++ gcc.dg/pr34856.c (working copy)
@@ -1,7 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-options "-O2 -msse2" { target { i?86-*-* x86_64-*-* } } } */
-/* { dg-options "-O2 -w" { target { powerpc*-*-linux* } } } */
/* { dg-options "-O2 -maltivec" { target { powerpc*-*-linux* && powerpc_altivec_ok } } } */
typedef unsigned __attribute__ ((__mode__ (__pointer__))) uintptr_t;
@@ -28,3 +27,6 @@ void f1 (unsigned ctr)
}
while (ctr);
}
+
+/* Ignore a warning that is irrelevant to the purpose of this test. */
+/* { dg-prune-output ".*GCC vector passed by reference.*" } */