The test case gcc.dg/vect/costmodel/ppc/costmodel-slp-34.c fails if a loop isn't vectorized. When compiled for little endian, the cost of vectorizing the loop is deemed too high to vectorize due to unaligned vector accesses within the loop. Therefore we should skip this test for LE.
Verified on powerpc64le-unknown-linux-gnu. Is this ok for trunk? Thanks, Bill 2013-12-02 Bill Schmidt <wschm...@linux.vnet.ibm.com> * gcc.dg/vect/costmodel/ppc/costmodel-slp-34.c: Skip for little endian. Index: gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-slp-34.c =================================================================== --- gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-slp-34.c (revision 205585) +++ gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-slp-34.c (working copy) @@ -1,4 +1,5 @@ /* { dg-require-effective-target vect_int } */ +/* { dg-skip-if "" { powerpc*le-*-* } { "*" } { "" } } */ #include <stdarg.h> #include "../../tree-vect.h"