Sign in
gnu
/
gcc
/
4aef14b09557ce072f1269bd8a05fa2b1df0eda2
/
.
/
gcc
/
testsuite
/
gcc.dg
/
pr42630.c
blob: 34543dab5e9971439dd66ca1b87a760435d8f216 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O1 -fvariable-expansion-in-unroller -funroll-loops -fcompare-debug" } */
int
sum
(
int
*
buf
,
int
len
)
{
int
s
=
0
;
while
(--
len
>
0
)
s
+=
*
buf
++;
return
s
;
}