pet_scop_collect_arrays: only collect siblings of accessed fields
[pet.git] / tests / while_affine.c
blobcfc177be7bbc3788c5e07398bfea81ca918b4527
1 void foo(int N)
3 int i, j, a[N], b[N];
5 #pragma scop
6 for (i = 0; i < 100; ++i)
7 while (i > 98) {
8 for (j = 0; j < N; ++j)
9 a[j] = 0;
10 for (j = 0; j < N; ++j)
11 b[j] = a[j];
13 #pragma endscop