annotate gcc/testsuite/gfortran.dg/whole_file_22.f90 @ 132:d34655255c78

update gcc-8.2
author mir3636
date Thu, 25 Oct 2018 10:21:07 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 ! { dg-do link }
kono
parents:
diff changeset
2 ! { dg-options "-fwhole-program -O3 -g" }
kono
parents:
diff changeset
3 !
kono
parents:
diff changeset
4 ! PR fortran/40873
kono
parents:
diff changeset
5 !
kono
parents:
diff changeset
6 program prog
kono
parents:
diff changeset
7 call one()
kono
parents:
diff changeset
8 call two()
kono
parents:
diff changeset
9 call test()
kono
parents:
diff changeset
10 end program prog
kono
parents:
diff changeset
11 subroutine one()
kono
parents:
diff changeset
12 call three()
kono
parents:
diff changeset
13 end subroutine one
kono
parents:
diff changeset
14 subroutine two()
kono
parents:
diff changeset
15 call three()
kono
parents:
diff changeset
16 end subroutine two
kono
parents:
diff changeset
17 subroutine three()
kono
parents:
diff changeset
18 end subroutine three
kono
parents:
diff changeset
19
kono
parents:
diff changeset
20 SUBROUTINE c()
kono
parents:
diff changeset
21 CALL a()
kono
parents:
diff changeset
22 END SUBROUTINE c
kono
parents:
diff changeset
23
kono
parents:
diff changeset
24 SUBROUTINE a()
kono
parents:
diff changeset
25 END SUBROUTINE a
kono
parents:
diff changeset
26
kono
parents:
diff changeset
27 MODULE M
kono
parents:
diff changeset
28 CONTAINS
kono
parents:
diff changeset
29 SUBROUTINE b()
kono
parents:
diff changeset
30 CALL c()
kono
parents:
diff changeset
31 END SUBROUTINE
kono
parents:
diff changeset
32 END MODULE
kono
parents:
diff changeset
33
kono
parents:
diff changeset
34 subroutine test()
kono
parents:
diff changeset
35 USE M
kono
parents:
diff changeset
36 CALL b()
kono
parents:
diff changeset
37 END