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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
pr92347.c
blob
13d16551b5ceb68328d3a771f1c7175fd7be4a88
1
/* Copied from PR 92347. */
2
/* { dg-do compile } */
3
/* { dg-additional-options "-O1 -fopenmp-simd" } */
4
/* { dg-additional-options "-mavx" { target { i?86-*-* x86_64-*-* } } } */
5
6
int
by
;
7
8
#pragma omp declare simd
9
int
10
zp
(
int
);
11
12
void
13
qh
(
int
oh
)
14
{
15
#pragma omp simd
16
for
(
by
=
0
;
by
<
oh
; ++
by
)
17
by
=
zp
(
by
);
18
}