gcc/fortran/
[official-gcc.git] / gcc / testsuite / gfortran.dg / predict-1.f90
blob81f0436fba4b449bfe249e574a14adfd45d77a7f
1 ! { dg-do compile }
2 ! { dg-options "-O2 -fdump-tree-profile_estimate" }
4 subroutine test(block, array)
5 integer :: i, block(9), array(2)
7 do i = array(1), array(2)
8 block(i) = i
9 end do
10 end subroutine test
12 ! { dg-final { scan-tree-dump-times "Fortran loop preheader heuristics of edge\[^:\]*: 99.0%" 1 "profile_estimate" } }