aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/pr112404.f90
blob: 573fa28164a1205d8f88b67d084de1af5296fb45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
! { dg-do compile }
! { dg-options "-Ofast" }
! { dg-additional-options "-mavx2" { target avx2 } }
   SUBROUTINE sfddagd( regime, znt, ite, jte )
   REAL, DIMENSION( ime, IN) :: regime, znt
   REAL, DIMENSION( ite, jte) :: wndcor_u 
   LOGICAL wrf_dm_on_monitor
   IF( int4 == 1 ) THEN
     DO j=jts,jtf
     DO i=itsu,itf
       reg = regime(i-1,  j) 
       IF( reg > 10.0 ) THEN
         znt0 = znt(i-1,  j) + znt(i,  j) 
         IF( znt0 <= 0.2) THEN
           wndcor_u(i,j) = 0.2
         ENDIF
       ENDIF
     ENDDO
     ENDDO
     IF ( wrf_dm_on_monitor()) THEN
     ENDIF
   ENDIF
   END