2016-03-07 Richard Biener <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Mar 2016 11:45:49 +0000 (11:45 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Mar 2016 11:45:49 +0000 (11:45 +0000)
PR testsuite/70109
* gcc.dg/vect/O3-pr36098.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234024 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/O3-pr36098.c

index 0b5ea53..e3ed862 100644 (file)
@@ -1,3 +1,8 @@
+2016-03-07  Richard Biener  <rguenther@suse.de>
+
+       PR testsuite/70109
+       * gcc.dg/vect/O3-pr36098.c: New testcase.
+
 2016-03-07  Christophe Lyon  <christophe.lyon@linaro.org>
 
        * gcc.target/arm/pragma_cpp_fma.c: Reset default FPU.
index e5461ed..8e41717 100644 (file)
@@ -17,4 +17,8 @@ void foo (int ncons, t_sortblock *sb, int *iatom)
      iatom[m]=sb[i].iatom[m];
 }
 
-/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 0 "vect" } } */
+/* The testcase was originally added for correctness reasons but now we
+   can vectorize it correctly if the target supports the permutations
+   required.  */
+
+/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 0 "vect" { target { ! vect_perm } } } } */