libgfortran/ChangeLog:
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr52835.f90
blob3141b88b258fc2007b5768310ef82411403e26ff
1 ! PR tree-optimization/52835
2 ! { dg-do compile }
3 ! { dg-options "-O3 -fdump-tree-optimized" }
5 subroutine foo (x, y, z, n)
6 integer :: n, i
7 real :: x(n), y(n), z(n)
8 do i = 1, n
9 z(i) = 0.0
10 y(i) = 0.0
11 call bar (y(i), z(i), x(i))
12 end do
13 end subroutine
15 ! { dg-final { scan-tree-dump "bar\[ _\]" "optimized" } }
16 ! { dg-final { cleanup-tree-dump "optimized" } }