PetScan::extract_scop: clear writes at outer level
[pet.git] / tests / quasi_affine.c
blob70612de418e0866ec8a1888cece9928e45d4bbb2
1 int f(int);
2 int g(int);
3 int N;
5 void foo()
7 int i;
8 int in;
9 int A[N];
10 int out;
12 #pragma scop
13 if (N >= 0) {
14 A[0] = in;
15 for (i = 1; i <= N; ++i) {
16 A[i] = f(g(A[i/2]));
18 out = g(A[N]);
20 #pragma endscop