1 /* { dg-require-effective-target size32plus } */
2 #define SIZE 10000
3 
4 static double P[SIZE][SIZE];
5 
sor(int N1,int N2)6 void sor(int N1, int N2){
7   int i, j, k;
8 
9 #pragma scop
10   for(i=1; i<N1-1; i++) {
11     for(j=1; j<N2-1; j++) {
12       P[i][j] = (P[i][j] + P[i][j-1] + P[i][j+1] + P[i-1][j] + P[i+1][j]) / 5;
13     }
14   }
15 #pragma endscop
16 }
17 
18 /* { dg-final { scan-tree-dump-times "number of SCoPs: 1" 1 "graphite" } } */
19