blob: 242201680b3b1d587a4515c8c06aa109ddd41a5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
! { dg-do compile }
! { dg-options "-O3 -ffast-math" }
! This tests only for compile-time failure, which formerly occurred
! when a __builtin_powi was introduced by reassociation in a bad place.
SUBROUTINE GRDURBAN(URBWSTR, ZIURB, GRIDHT)
IMPLICIT NONE
INTEGER :: I
REAL :: SW2, URBWSTR, ZIURB, GRIDHT(87)
SAVE
SW2 = 1.6*(GRIDHT(I)/ZIURB)**0.667*URBWSTR**2
END
|