Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/reassoc_9.f @ 120:f93fa5091070
fix conv1.c
author | mir3636 |
---|---|
date | Thu, 08 Mar 2018 14:53:42 +0900 |
parents | 04ced10e8804 |
children | 84e7813d76e9 |
line wrap: on
line source
! { dg-do compile } ! { dg-options "-O3 -ffast-math -fdump-tree-optimized" } SUBROUTINE S55199(P,Dvdph) implicit none real(8) :: c1,c2,c3,P,Dvdph c1=0.1d0 c2=0.2d0 c3=0.3d0 Dvdph = c1 + 2.*P**2*c2 + 3.*P**4*c3 END ! There should be three multiplies following un-distribution ! and power expansion. ! { dg-final { scan-tree-dump-times " \\\* " 3 "optimized" } }