repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr42630.c
blob
34543dab5e9971439dd66ca1b87a760435d8f216
1
/* { dg-do compile } */
2
/* { dg-options "-O1 -fvariable-expansion-in-unroller -funroll-loops -fcompare-debug" } */
3
4
int
sum
(
int
*
buf
,
int
len
)
5
{
6
int
s
=
0
;
7
while
(--
len
>
0
)
s
+= *
buf
++;
8
return
s
;
9
}