Debian Codegraph @

gcc/testsuite/gfortran.fortran-torture/compile/pr80464.f90

raw
1 subroutine bla(a,bar,lb,ne,nt,v,b)
2 character*8 lb
3 integer bar(20),foo(8,5)
4 real*8 a(3,*),x(3,8),v(0:3,*)
5 if(lb(4:4).eq.'3') then
6 n=8
7 elseif(lb(4:5).eq.'10') then
8 n=10
9 ns=6
10 m=4
11 endif
12 call blub(id)
13 do
14 if(id.eq.0) exit
15 if(lb(4:4).eq.'6') then
16 m=1
17 endif
18 if((n.eq.20).or.(n.eq.8)) then
19 if(b.eq.0) then
20 do i=1,ns
21 do j=1,3
22 x(j,i)=a(j,bar(foo(i,ig)))
23 enddo
24 enddo
25 else
26 do i=1,ns
27 do j=1,3
28 x(j,i)=a(j,bar(foo(i,ig)))+v(j,bar(foo(i,ig)))
29 enddo
30 enddo
31 endif
32 endif
33 do i=1,m
34 if(lb(4:5).eq.'1E') then
35 call blab(x)
36 endif
37 enddo
38 enddo
39 end subroutine bla