Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
no-trapping-math-1.c
blob: d682387038e7883521393d732bce1af779465fff [
file
] [
log
] [
blame
]
/* Test for pr30485. */
/* { dg-do compile } */
/* { dg-require-effective-target vect_condition } */
void
foo
(
float
a
[
32
],
float
b
[
2
][
32
])
{
int
i
;
for
(
i
=
0
;
i
<
32
;
i
++)
a
[
i
]
=
(
b
[
0
][
i
]
>
b
[
1
][
i
])
?
b
[
0
][
i
]
:
b
[
1
][
i
];
}