PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git] / gcc / testsuite / gfortran.dg / dependency_6.f90
blob7cf067f712b3601a96b0d3d7c638997d57d472ea
1 ! { dg-do compile }
2 ! { dg-options "-O2 -fdump-tree-original" }
3 subroutine foo(a)
4 integer, dimension (4) :: a
6 where (a(:4) .ne. 0)
7 a(:4) = 1
8 endwhere
9 end subroutine
10 ! { dg-final { scan-tree-dump-times "malloc" 0 "original" } }