* tree-loop-distribution.c (struct partition): New field recording
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr34163.f90
blob5ce8d00e4c5277197b43efea6303d0d8e73fde3b
1 ! { dg-do compile }
2 ! { dg-options "-O2 -fno-tree-pre -fpredictive-commoning -fdump-tree-pcom-details" }
3 subroutine trisolve2(x,i1,i2,nxyz)
4 integer :: nxyz
5 real,dimension(nxyz):: au1
6 real,allocatable,dimension(:) :: gi
7 integer :: i1 , i2
8 real,dimension(i2)::x
9 integer :: i
10 allocate(gi(nxyz))
11 do i = i1+1 , i2
12 x(i) = gi(i)*(x(i)-au1(i-1)*x(i-1))
13 enddo
14 end subroutine trisolve2
15 ! { dg-final { scan-tree-dump "Executing predictive commoning" "pcom" } }