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
Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
gomp
/
simd-clones-7.c
blob
ef6fa113c1ab03981c17079e8b60a4ebdde726d8
1
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2
/* { dg-options "-fopenmp -w" } */
3
4
int
array
[
1000
];
5
6
#pragma omp declare simd notinbranch simdlen(4)
7
void
foo
(
int
*
a
,
int
b
)
8
{
9
a
[
b
] =
555
;
10
}
11
12
#pragma omp declare simd notinbranch simdlen(4)
13
void
bar
(
int
*
a
)
14
{
15
*
a
=
555
;
16
}