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
Check CXXFLAGS, instead of CFLAGS, for NO_PIE_CFLAGS
[official-gcc.git]
/
libgomp
/
testsuite
/
libgomp.oacc-c-c++-common
/
data-already-3.c
blob
b993b78c5ac5906a68bfbcc04483439ae765b15f
1
/* { dg-skip-if "" { *-*-* } { "*" } { "-DACC_MEM_SHARED=0" } } */
2
3
#include <openacc.h>
4
5
int
6
main
(
int
argc
,
char
*
argv
[])
7
{
8
int
i
;
9
10
#pragma acc data present_or_copy (i)
11
acc_copyin
(&
i
,
sizeof
i
);
12
13
return
0
;
14
}
15
16
/* { dg-shouldfail "" }
17
{ dg-output "already mapped to" } */