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
coarray_41.f90: Add "-latomic" option if libatomic_available.
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
gomp
/
pr47331.f90
blob
71713e02233fa42909aafe90569e3e6319d04eed
1
! PR fortran/47331
2
! { dg-do compile }
3
! { dg-options "-fopenmp -fwhole-file" }
4
5
subroutine
foo
6
!$omp parallel
7
call
bar
()
8
!$omp end parallel
9
end subroutine
foo
10
11
subroutine
bar
12
integer
::
k
13
do
k
=
1
,
5
14
call
baz
(
k
)
15
end do
16
end subroutine
bar
17
18
subroutine
baz
(
k
)
19
integer
::
k
20
end subroutine
21
22
program
pr47331
23
call
foo
24
end program
pr47331