diff mbox

[testsuite] suppress warnings for powerpc for graphite vector test

Message ID 4E8F57F8.6040707@mentor.com
State New
Headers show

Commit Message

Janis Johnson Oct. 7, 2011, 7:50 p.m. UTC
Test gcc.dg/graphite/id-pr46845.c turns off warnings for x86 targets.
powerpc targets warn about ABI issues with vector arguments for this
test, so this patch includes powerpc*-*-* in the list of targets to
turn off warnings.  OK for trunk?

2011-10-07  Janis Johnson  <janisjo@codesourcery.com>

        * gcc.dg/graphite/id-pr46845.c: Include powerpc for warning options.

Comments

Mike Stump Oct. 7, 2011, 8:34 p.m. UTC | #1
On Oct 7, 2011, at 12:50 PM, Janis Johnson wrote:
> Test gcc.dg/graphite/id-pr46845.c turns off warnings for x86 targets.
> powerpc targets warn about ABI issues with vector arguments for this
> test, so this patch includes powerpc*-*-* in the list of targets to
> turn off warnings.  OK for trunk?

I'm hoping the graphite people have an even a better idea...  If not, Ok.
diff mbox

Patch

Index: gcc/testsuite/gcc.dg/graphite/id-pr46845.c
===================================================================
--- gcc/testsuite/gcc.dg/graphite/id-pr46845.c  (revision 179667)
+++ gcc/testsuite/gcc.dg/graphite/id-pr46845.c  (working copy)
@@ -1,4 +1,4 @@ 
-/* { dg-options "-O2 -ffast-math -fgraphite-identity -w -Wno-psabi" { target { i?86-*-* x86_64-*-* } } } */
+/* { dg-options "-O2 -ffast-math -fgraphite-identity -w -Wno-psabi" { target { i?86-*-* x86_64-*-* powerpc*-*-* } } } */

 typedef float V2SF __attribute__ ((vector_size (128)));