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
* df-scan.c (df_get_entry_block_def_set): Check if STATIC_CHAIN_REGNUM
[official-gcc.git]
/
libgomp
/
testsuite
/
libgomp.fortran
/
nestedfn3.f90
blob
454749c54851c0f3a8da94f68ee6e69bca1517e8
1
! PR middle-end/28790
2
! { dg-do run }
3
4
program
nestomp
5
integer
::
j
6
j
=
8
7
call
bar
8
if
(
j
.
ne
.10
)
call
abort
9
contains
10
subroutine
foo
(
i
)
11
integer
::
i
12
!$omp atomic
13
j
=
j
+
i
-
5
14
end subroutine
15
subroutine
bar
16
use
omp_lib
17
integer
::
i
18
i
=
6
19
call
omp_set_dynamic
(.
false
.)
20
!$omp parallel num_threads (2)
21
call
foo
(
i
)
22
!$omp end parallel
23
end subroutine
24
end