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]

[testsuite] suppress warnings for powerpc for graphite vector test


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.

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)));


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