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
PR c++/82069 - ICE with lambda in template
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr28162.c
blob
8bd28ad24ae03f1c636166f52f68484d8a7eaa7e
1
/* { dg-do compile } */
2
/* { dg-options "-O3" } */
3
4
void
Lag_max_wght
(
float
corr
[],
long
wght_flg
)
5
{
6
float
t0
,
max
;
7
const float
*
ww
;
8
long
i
;
9
if
(
wght_flg
>
0
) {
10
for
(
i
=
143
;
i
>=
20
;
i
-- ) {
11
t0
=
corr
[ -
i
] * *
ww
--;
12
if
(
t0
>=
max
)
13
max
=
t0
;
14
}
15
}
16
}
17