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
2018-05-15 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
graphite
/
isl-ast-gen-if-2.c
blob
27e7fa42c6b73d699bb0fa61f0fdcaa064e13c83
1
/* This test case tests reduction, where the pbbs are duplicated. */
2
3
static int
__attribute__
((
noinline
))
4
foo
()
5
{
6
int
i
,
res
=
0
;
7
8
for
(
i
=
0
;
i
<
50
;
i
++)
9
{
10
if
(
i
>=
25
)
11
res
+=
i
;
12
}
13
14
return
res
;
15
}
16
17
extern
void
abort
();
18
19
int
20
main
(
void
)
21
{
22
int
res
=
foo
();
23
24
if
(
res
!=
925
)
25
abort
();
26
27
return
0
;
28
}