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_scop_collect_arrays: only collect siblings of accessed fields
[pet.git]
/
tests
/
decl8.c
blob
f3016d66d8359454226c3a2065863fd06088d710
1
void
f
(
int
n
,
float
b
[
n
])
2
{
3
#pragma scop
4
float
a
[
n
];
5
6
for
(
int
i
=
0
;
i
<
n
;
i
++)
7
a
[
i
] =
b
[
i
];
8
9
for
(
int
i
=
0
;
i
<
n
;
i
++) {
10
float
b
[
n
][
n
];
11
b
[
i
][
i
] =
a
[
i
] +
1
;
12
a
[
i
] =
b
[
i
][
i
];
13
}
14
15
for
(
int
i
=
0
;
i
<
n
;
i
++)
16
b
[
i
] =
a
[
i
];
17
#pragma endscop
18
}