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
/
isl-ast-gen-blocks-3.c
blob
9c5223c5d73a7cda70318db1f25d2c94de3f34c5
1
/* We use a global variable 'k' to avoid ipa-cp. */
2
int
k
=
50
;
3
static int
__attribute__
((
noinline
))
4
foo
()
5
{
6
int
i
,
res
=
0
;
7
for
(
i
=
k
/
2
;
i
<
k
;
i
++)
8
res
+=
i
;
9
10
return
res
;
11
}
12
13
extern
void
abort
();
14
15
int
16
main
(
void
)
17
{
18
int
res
=
foo
();
19
20
if
(
res
!=
925
)
21
abort
();
22
23
return
0
;
24
}