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
Adjust pr92163.c test to require effective target fopenacc.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
pr92163.c
blob
227c09255e4ecad0e8ce58ce7ffc2be2c1330445
1
/* { dg-do "compile" } */
2
/* { dg-require-effective-target fopenacc } */
3
/* { dg-options "-O2 -fexceptions -fnon-call-exceptions -fopenacc" } */
4
5
void
6
xr
(
int
*
k7
)
7
{
8
int
qa
;
9
10
#pragma acc parallel
11
#pragma acc loop vector
12
for
(
qa
=
0
;
qa
<
3
; ++
qa
)
13
if
(
qa
%
2
!=
0
)
14
k7
[
qa
] =
0
;
15
else
16
k7
[
qa
] =
1
;
17
}