2017-04-21 Martin Liska <mliska@suse.cz>
PR tree-optimization/66278
* gcc.dg/vect/pr66278.c: New test.
From-SVN: r247051
+2017-04-21 Martin Liska <mliska@suse.cz>
+
+ PR tree-optimization/66278
+ * gcc.dg/vect/pr66278.c: New test.
+
2017-04-21 Richard Biener <rguenther@suse.de>
PR tree-optimization/80237
--- /dev/null
+/* { dg-do compile } */
+#define N 101
+
+typedef unsigned int __uint32_t;
+
+int main(int argc, char **argv)
+{
+ __uint32_t array[N][N][N];
+
+ const unsigned int next = argc == 3 ? 0 : 1;
+
+ for (unsigned i = next; i < N; i++)
+ array[3][3][i] = array[3][3][i] - 10;
+
+ return array[3][3][argc];
+}
+
+/* { dg-final { scan-tree-dump-times "LOOP VECTORIZED" 1 "vect" } } */
+/* { dg-require-effective-target vect_int } */