Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/reassoc_11.f @ 128:fe568345ddd5
fix CbC-example
author | mir3636 |
---|---|
date | Wed, 11 Apr 2018 19:32:28 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { 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