2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / no-scevccp-outer-2.c
blob13b37883c2e9f489d78e40de319ab29dc84c0b9a
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int } */
4 #define N 40
6 int
7 foo (){
8 int i,j;
9 int diff = 0;
11 for (i = 0; i < N; i++) {
12 for (j = 0; j < N; j++) {
13 diff += j;
16 return diff;
19 /* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED" 1 "vect" } } */
20 /* { dg-final { cleanup-tree-dump "vect" } } */