* trans-stmt.c (gfc_trans_forall_1): Optimize the cases where the
[official-gcc.git] / gcc / testsuite / gfortran.dg / forall_8.f90
blobb06f3028a0f5a3153db88e38aef9984e452041c3
1 ! { dg-do compile }
2 ! { dg-options "-O2 -fdump-tree-original" }
3 integer a(100)
4 forall (i=1:100,.true.)
5 a(i) = 0
6 end forall
7 end
8 ! { dg-final { scan-tree-dump-times "temp" 0 "original" } }
9 ! { dg-final { cleanup-tree-dump "original" } }