repo.or.cz
/
pet.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
scop.c: scop_collect_accesses: rename "dim" variable to "space"
[pet.git]
/
tests
/
quasi_affine.c
blob
70612de418e0866ec8a1888cece9928e45d4bbb2
1
int
f
(
int
);
2
int
g
(
int
);
3
int
N
;
4
5
void
foo
()
6
{
7
int
i
;
8
int
in
;
9
int
A
[
N
];
10
int
out
;
11
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
]));
17
}
18
out
=
g
(
A
[
N
]);
19
}
20
#pragma endscop
21
}