pet_scop_collect_arrays: only collect siblings of accessed fields
[pet.git] / tests / pencil_max.c
blobc8d0062350ed26d69433225dd7d77697022ff470
1 void foo()
3 int i;
4 unsigned int j;
5 int m;
6 unsigned int n;
7 int a[20];
8 int b[20];
10 #pragma scop
11 for (i = 0; i < imax(m, 10); ++i)
12 a[i] = i;
14 for (j = 0; j < umax(n, 10); ++j)
15 b[j] = j;
16 #pragma endscop