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
Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
pr77808.c
blob
6c806ec9aca5bedc20f5197486304fe2f831e2bd
1
/* PR tree-optimization/77808 */
2
/* { dg-options "-O2 -fprefetch-loop-arrays --param prefetch-latency=0 -w" } */
3
4
void
5
daxpy
(
int
n
,
double
da
,
double
*
__restrict dx
,
double
*
__restrict dy
)
6
{
7
int
i
;
8
9
for
(
i
=
0
;
i
<
n
;
i
++)
10
dy
[
i
] =
dy
[
i
] +
da
*
dx
[
i
];
11
}