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
Handle peeling for alignment with masking
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr42630.c
blob
08427ab6d06bcaf5908897ed30f421976b81b47b
1
/* { dg-do compile } */
2
/* { dg-options "-O1 -fvariable-expansion-in-unroller -funroll-loops -fcompare-debug" } */
3
/* { dg-xfail-if "" { powerpc-ibm-aix* } } */
4
5
int
sum
(
int
*
buf
,
int
len
)
6
{
7
int
s
=
0
;
8
while
(--
len
>
0
)
s
+= *
buf
++;
9
return
s
;
10
}