Applied to trunk.

Richard.

2015-01-23  Richard Biener  <rguent...@suse.de>

        PR testsuite/63439
        * gcc.dg/vect/bb-slp-11.c: Require vect_pack_trunc.
        * gcc.dg/vect/bb-slp-26.c: Require vect_hw_misalign.

Index: gcc/testsuite/gcc.dg/vect/bb-slp-11.c
===================================================================
--- gcc/testsuite/gcc.dg/vect/bb-slp-11.c       (revision 220032)
+++ gcc/testsuite/gcc.dg/vect/bb-slp-11.c       (working copy)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_int } */
+/* { dg-require-effective-target vect_pack_trunc } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
Index: gcc/testsuite/gcc.dg/vect/bb-slp-26.c
===================================================================
--- gcc/testsuite/gcc.dg/vect/bb-slp-26.c       (revision 220032)
+++ gcc/testsuite/gcc.dg/vect/bb-slp-26.c       (working copy)
@@ -9,8 +9,9 @@
 
 char src[N], dst[N];
 
-void foo (char * __restrict__ dst, char * __restrict__ src, int h,
-          int stride, int dummy)
+void __attribute__((noinline,noclone))
+foo (char * __restrict__ dst, char * __restrict__ src, int h,
+     int stride, int dummy)
 {
   int i;
   h /= 16;
@@ -55,7 +56,7 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "basic block vectorized" 1 "slp1" { 
target vect64 } } } */
+/* { dg-final { scan-tree-dump-times "basic block vectorized" 1 "slp1" { 
target { vect64 && vect_hw_misalign } } } } */
 /* { dg-final { cleanup-tree-dump "slp1" } } */
 /* { dg-final { cleanup-tree-dump "slp2" } } */
 

Reply via email to