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
pet_stmt_from_pet_expr: rename "dim" variable to "space"
[pet.git]
/
tests
/
propagate.c
blob
0f662712dd4c22bec03f10fe33a0332f891f6713
1
void
bar
(
int
N
,
int
a
[
N
][
N
],
int
b
[
5
][
5
])
2
{
3
int
i
,
j
;
4
int
ind
;
5
6
#pragma scop
7
for
(
i
=
0
;
i
<
N
; ++
i
)
8
for
(
j
=
i
;
j
<
N
; ++
j
) {
9
ind
=
i
>
0
?
i
-
1
:
i
;
10
a
[
i
][
j
] =
a
[
ind
][
0
];
11
}
12
#pragma endscop
13
}