gcc/testsuite/gfortran.dg/pr89956.f90
raw| 1 | ! { dg-options "-O3 -fno-tree-forwprop -fno-tree-pre -fno-tree-dominator-opts -fno-code-hoisting -ffast-math" } |
| 2 | |
| 3 | module de |
| 4 | contains |
| 5 | function zu (az, xx) result (q3) |
| 6 | real :: az, xx, q3 |
| 7 | |
| 8 | q3 = 1.0 - lz (az, xx) - lz (xx, az) |
| 9 | end function zu |
| 10 | |
| 11 | function lz (ho, gh) result (ye) |
| 12 | real :: ho, gh, ye |
| 13 | |
| 14 | ye = sqrt (ho) - ho * gh |
| 15 | end function lz |
| 16 | end module de |