OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [pr34163.f90] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
! { dg-options "-O2 -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" } }
16
! { dg-final { cleanup-tree-dump "pcom" } }

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.