Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
c-c++-common
/
gomp
/
if-3.c
blob: 12c342b987cb3a1e8e5a168b64343c7b57dbd4b6 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-additional-options "-O2" } */
#define
N
1024
void
foo
(
int
*
x
,
int
*
y
,
int
*
z
,
int
a
)
{
int
i
;
#pragma
omp simd
if
(
simd
:
a
>
2
)
aligned
(
x
,
y
,
z
:
16
)
for
(
i
=
0
;
i
<
N
;
i
++)
x
[
i
]
=
y
[
i
]
+
z
[
i
];
}