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
gcc/
[official-gcc.git]
/
libgomp
/
testsuite
/
libgomp.c
/
pr42029.c
blob
ea7ac2c0986adb1873d48db96c9ce6054d37c68f
1
/* PR middle-end/42029 */
2
/* { dg-do run } */
3
4
extern
void
abort
(
void
);
5
6
int
7
main
()
8
{
9
int
i
;
10
_Complex
int
c
=
0
;
11
12
#pragma omp parallel for private(i) reduction(+:c)
13
for
(
i
=
0
;
i
<
8
; ++
i
)
14
c
+=
1
;
15
16
if
(
c
!=
8
)
17
abort
();
18
return
0
;
19
}