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 broken MinGW build of gcc.c
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
gomp
/
pr26412.c
blob
6baecfe6895b9977bd0ca2f5965739041c5e9b9e
1
/* PR middle-end/26412 */
2
/* { dg-do compile } */
3
4
extern
double
a
[];
5
extern
int
b
;
6
7
double
8
test
(
void
)
9
{
10
int
i
;
11
double
c
=
0
;
12
13
#pragma omp parallel for private(i) reduction(+:c)
14
for
(
i
=
0
;
i
<
10000
;
i
++)
15
c
+=
a
[
b
];
16
17
return
c
;
18
}