a9ac09c4a2b044f7cc67f210099515207e8dfad6
[gcc.git] / gcc / testsuite / gcc.dg / vect / no-scevccp-outer-2.c
1 /* { dg-do compile } */
2 #define N 40
3
4 int
5 foo (){
6 int i,j;
7 int diff = 0;
8
9 for (i = 0; i < N; i++) {
10 for (j = 0; j < N; j++) {
11 diff += j;
12 }
13 }
14 return diff;
15 }
16
17 /* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED" 1 "vect" { xfail *-*-* } } } */
18 /* { dg-final { cleanup-tree-dump "vect" } } */