Hi, As pointed out elsewhere, gcc.target/powerpc/crypto-builtin-2.c is being executed for all POWER processors with VSX support. The built-ins being tested here are only applicable to processors with power8-vector support. This patch fixes the test to reflect this.
Tested on powerpc64le-unknown-linux-gnu, committed as obvious, and backported to 5.1, 4.9, and 4.8. Thanks, Bill 2015-04-30 Bill Schmidt <wschm...@linux.vnet.ibm.com> * gcc.target/powerpc/crypto-builtin-2.c: Replace powerpc_vsx_ok with powerpc_p8vector_ok. Index: gcc/testsuite/gcc.target/powerpc/crypto-builtin-2.c =================================================================== --- gcc/testsuite/gcc.target/powerpc/crypto-builtin-2.c (revision 222657) +++ gcc/testsuite/gcc.target/powerpc/crypto-builtin-2.c (working copy) @@ -1,6 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ -/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-O2 -mcpu=power8 -mno-crypto" } */