warn-1.c: Skip if not powerpc_vsx_ok.

* gcc.target/powerpc/warn-1.c: Skip if not powerpc_vsx_ok.
	* gcc.target/powerpc/warn-2.c: Ditto.

From-SVN: r179877
This commit is contained in:
Janis Johnson 2011-10-12 22:41:18 +00:00 committed by Janis Johnson
parent 5239de8faf
commit 53778c2d88
3 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2011-10-12 Janis Johnson <janisjo@codesourcery.com>
* gcc.target/powerpc/warn-1.c: Skip if not powerpc_vsx_ok.
* gcc.target/powerpc/warn-2.c: Ditto.
* gcc.target/powerpc/ppc-fma-3.c: Require powerpc_fprs.
* gcc.target/powerpc/ppc-fma-4.c: Likewise.
* gcc.target/powerpc/ppc-fma-5.c: Likewise.

View File

@ -1,5 +1,6 @@
/* { dg-do compile { target { powerpc*-*-* } } } */
/* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */
/* { dg-require-effective-target powerpc_vsx_ok } */
/* { dg-options "-O -mvsx -mno-altivec" } */
/* { dg-warning "-mvsx and -mno-altivec are incompatible" "" { target *-*-* } 1 } */

View File

@ -1,5 +1,6 @@
/* { dg-do compile { target { powerpc*-*-* } } } */
/* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */
/* { dg-require-effective-target powerpc_vsx_ok } */
/* { dg-options "-O -mcpu=power7 -mno-altivec" } */
/* { dg-warning "-mno-altivec disables vsx" "" { target *-*-* } 1 } */