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
/
recursive_check_8.f90
blob
4d83498c7e24db8344a2817e9be2f329baa60332
1
! { dg-do run }
2
! { dg-options "-fcheck=recursion" }
3
!
4
! PR fortran/39577
5
!
6
! OK - no recursion
7
program
test
8
call
f
(.
false
.)
9
call
f
(.
false
.)
10
contains
11
subroutine
f
(
rec
)
12
logical
::
rec
13
if
(
rec
)
then
14
call
g
()
15
end if
16
return
17
end subroutine
f
18
subroutine
g
()
19
call
f
(.
false
.)
20
return
21
end subroutine
g
22
end program
test