repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* gcc.dg/torture/stackalign/builtin-apply-2.c: Fix skip-if syntax.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
graphite
/
scop-5.c
blob
5ecaaeed383cd5d42565f2226d0c225941135959
1
void
bar
();
2
3
int
toto
()
4
{
5
int
i
,
j
,
b
;
6
int
a
[
100
];
7
8
if
(
i
==
20
)
9
{
10
for
(
j
=
0
;
j
<=
20
;
j
++)
11
a
[
j
] =
b
+
i
;
12
for
(
j
=
2
;
j
<=
23
;
j
++)
13
a
[
j
] =
b
+
i
;
14
b
=
3
;
15
bar
();
16
}
17
else
18
{
19
if
(
i
==
30
)
20
{
21
for
(
j
=
0
;
j
<=
20
;
j
++)
22
a
[
j
] =
b
+
i
;
23
b
=
5
;
24
}
25
else
26
{
27
for
(
j
=
0
;
j
<=
20
;
j
++)
28
a
[
j
] =
b
+
i
;
29
b
=
8
;
30
}
31
}
32
33
return
a
[
b
];
34
}
35
36
/* { dg-final { scan-tree-dump-times "number of SCoPs: 1" 1 "graphite"} } */