Debian Codegraph @

gcc/testsuite/gfortran.dg/pr95053_2.f90

raw
1 ! { dg-do compile }
2 ! PR 95053 - make sure we do not regress on 521.wrf_r from spec2017
3 !
4 function f (x)
5 real, parameter :: cldeps = 0.
6 f = 0.
7 if (cldeps > 0.) then
8 f = floor (x/cldeps) * cldeps
9 end if
10 end function f