gcc/testsuite/ChangeLog:
2017-05-30 Robin Dapp <rdapp@linux.vnet.ibm.com>
* gcc.target/s390/vector/vec-nopeel-2.c: New test.
From-SVN: r248679
+2017-05-30 Robin Dapp <rdapp@linux.vnet.ibm.com>
+
+ * gcc.target/s390/vector/vec-nopeel-2.c: New test.
+
2017-05-30 Jozef Lawrynowicz <jozef.l@somniumtech.com>
PR target/78838
--- /dev/null
+/* { dg-do compile } */
+/* { dg-require-effective-target s390_vx } */
+/* { dg-options "-O2 -mzarch -march=z13 -ftree-vectorize -fdump-tree-vect-details -fvect-cost-model=dynamic" } */
+
+void foo(int *restrict a, int *restrict b, unsigned int n)
+{
+ for (unsigned int i = 0; i < n; i++)
+ b[i] = a[i] * 2 + 1;
+}
+
+/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
+/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 2 "vect" } } */