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
Drop Z from X + Z < Y + Z
[official-gcc.git]
/
libgomp
/
testsuite
/
libgomp.c
/
nestedfn-6.c
blob
c0ace6b3fb85b38a00a4d3b6961ce782444ebcc7
1
extern
void
abort
(
void
);
2
3
int
j
;
4
5
int
6
main
(
void
)
7
{
8
int
i
;
9
void
nested
(
void
) {
i
=
0
; }
10
#pragma omp parallel for lastprivate (i)
11
for
(
i
=
0
;
i
<
50
;
i
+=
3
)
12
;
13
if
(
i
!=
51
)
14
abort
();
15
#pragma omp parallel for lastprivate (j)
16
for
(
j
= -
50
;
j
<
70
;
j
+=
7
)
17
;
18
if
(
j
!=
76
)
19
abort
();
20
return
0
;
21
}