Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
vect-cond-12.c
blob: 1add96afe4500da416b8b3cc610f465f1b9dbc4b [
file
] [
log
] [
blame
]
/* { dg-do compile } */
int
f
(
int
*
x
,
short
*
y
)
{
int
res
=
100
;
for
(
int
i
=
0
;
i
<
40
;
++
i
)
{
if
(
y
[
i
]
>
1
)
res
=
x
[
i
];
x
[
i
]
+=
y
[
i
];
}
return
res
;
}