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
Improve atomic store implementation on hppa-linux.
[official-gcc.git]
/
libgomp
/
testsuite
/
libgomp.oacc-c-c++-common
/
pr70373.c
blob
af629c83ef794cb4a3fd46c44e9ff247dce6bd4e
1
#define N 32
2
3
int
4
foo
(
unsigned int
sum
)
5
{
6
#pragma acc parallel reduction (+:sum)
7
{
8
sum
;
9
}
10
11
return
sum
;
12
}
13
14
int
15
main
(
void
)
16
{
17
unsigned int
sum
=
0
;
18
foo
(
sum
);
19
return
0
;
20
}