* cfgloopmanip.c (duplicate_loop_to_header_edge): Cleanup profile
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr32921.f
blob0661208edde5900005332c376c7db6f26b88940b
1 ! { dg-do compile }
2 ! { dg-options "-O2 -fdump-tree-lim2" }
3 ! gfortran -c -m32 -O2 -S junk.f
5 MODULE LES3D_DATA
7 IMPLICIT REAL*8 (A-H,O-Z)
9 PARAMETER ( NSPECI = 1, ND = 7 + NSPECI )
11 INTEGER IMAX
13 DOUBLE PRECISION,ALLOCATABLE,DIMENSION(:,:,:) ::
14 > UAV,QAV
17 END MODULE LES3D_DATA
18 !---------------------------------------------------------------------
19 !------------------------------------------------------------------------
20 SUBROUTINE FLUXI()
22 USE LES3D_DATA
23 IMPLICIT REAL*8(A-H,O-Z)
25 ALLOCATABLE QS(:)
27 ALLOCATE( QS(0:IMAX))
28 QS=0D0
30 RETURN
31 END
32 !------------------------------------------------------------------------
33 !------------------------------------------------------------------------
34 SUBROUTINE EXTRAPI()
36 USE LES3D_DATA
37 IMPLICIT REAL*8(A-H,O-Z)
39 I1 = 0
40 I2 = IMAX - 1
42 DO I = I1, I2
43 UAV(I,1,2) = QAV(I,1,2)
44 END DO
46 RETURN
47 END
48 ! { dg-final { scan-tree-dump-times "stride" 4 "lim2" } }