Ignore:
Timestamp:
Jul 19, 2024, 4:15:44 PM (2 months ago)
Author:
abarral
Message:

Commit linked to correcting relevant warnings during gfortran compilation

[minor]
Correct remnants of fixed-form "+" in massbarxy.F90
Correct COMMON alignment in clesphys.h, flux_arp.h, cv*param.h, YOECUMF.h, alpale.h
Correct obsolete logical operators
Restrict use of iso_fortran_env in nf95_abort.f90
Remove redundant save in module declarations
Remove <continue> without labels
Fix nonstandard kind selectors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/dyn3d_common/limy.F

    r2603 r5081  
    150150c      enddo
    151151
    152       if(dyqv(ismin(iim,dyqv,1))*dyqv(ismax(iim,dyqv,1)).le.0.)
     152      if(dyqv(ismin(iim,dyqv,1))*dyqv(ismax(iim,dyqv,1))<=0.)
    153153     &   then
    154154         do ij=1,iip1
     
    162162
    163163      if(dyqv(ismax(iim,dyqv(ip1jm-iip1+1),1)+ip1jm-iip1+1)*
    164      & dyqv(ismin(iim,dyqv(ip1jm-iip1+1),1)+ip1jm-iip1+1).le.0.)
     164     & dyqv(ismin(iim,dyqv(ip1jm-iip1+1),1)+ip1jm-iip1+1)<=0.)
    165165     &then
    166166         do ij=ip1jm+1,ip1jmp1
     
    175175c   calcul des pentes limitees
    176176
    177       do ij=1,ip1jmp1
    178          if(dyqv(ij)*dyqv(ij-iip1).gt.0.) then
     177      do ij=1,ip1jmp1 ! cf below: should it be ip1jm instead ?
     178         if(dyqv(ij)*dyqv(ij-iip1)>0.) then  ! /!\ causes Warning: iteration 1056 invokes undefined behavior [-Waggressive-loop-optimizations] in 32x32x39
    179179            dyq(ij)=sign(min(abs(dyq(ij)),dyqmax(ij)),dyq(ij))
    180180         else
Note: See TracChangeset for help on using the changeset viewer.