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
c++: prvalue of array type [PR111286]
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
gomp
/
scan-3.c
blob
4e290eb02dfdffeac8486008d8ec901173ca4755
1
int
a
,
b
;
2
3
void
4
f1
(
int
*
c
,
int
*
d
)
5
{
6
int
i
;
7
#pragma omp for reduction (inscan, +: a)
8
for
(
i
=
0
;
i
<
64
;
i
++)
9
{
10
d
[
i
] =
a
;
11
#pragma omp scan inclusive (a)
12
a
+=
c
[
i
];
13
}
14
}