Hi, Andreas Schwab observed that the subject test case fails on 32-bit big-endian because the test is not restricted to targets that support __int128. This patch rectifies that.
Tested on powerpc64-unknown-linux-gnu and verified that the test is flagged as unsupported for BE, but runs correctly on LE. Tested on powerpc64le- unknown-linux-gnu and verified that the test runs correctly there. Is this ok for trunk? Thanks, Bill 2016-12-07 Bill Schmidt <wschm...@linux.vnet.ibm.com> * gcc.target/powerpc/fold-vec-add-7.c: Require effective target to support __int128. Index: gcc/testsuite/gcc.target/powerpc/fold-vec-add-7.c =================================================================== --- gcc/testsuite/gcc.target/powerpc/fold-vec-add-7.c (revision 243331) +++ gcc/testsuite/gcc.target/powerpc/fold-vec-add-7.c (working copy) @@ -3,6 +3,7 @@ /* { dg-do compile } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-require-effective-target int128 } */ /* { dg-options "-maltivec -mvsx -mpower8-vector" } */ /* { dg-additional-options "-maix64" { target powerpc-ibm-aix* } } */