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
PR libfortran/64770 Segfault when trying to open existing file with status="new".
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
graphite
/
isl-ast-gen-if-2.c
blob
90111e70a1a3251f0c5f81b75cce00b6951991aa
1
/* { dg-do run } */
2
/* { dg-options "-O2 -fgraphite-identity" } */
3
4
/* This test case tests reduction, where the pbbs are duplicated. */
5
6
static int
__attribute__
((
noinline
))
7
foo
()
8
{
9
int
i
,
res
=
0
;
10
11
for
(
i
=
0
;
i
<
50
;
i
++)
12
{
13
if
(
i
>=
25
)
14
res
+=
i
;
15
}
16
17
return
res
;
18
}
19
20
extern
void
abort
();
21
22
int
23
main
(
void
)
24
{
25
int
res
=
foo
();
26
27
if
(
res
!=
925
)
28
abort
();
29
30
return
0
;
31
}