blob: 061830fb973359d68fcfe6ef2ba0ab85dd9b52ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
subroutine matrix_multiply(a,b,c,n)
real(8), dimension(n,n) :: a,b,c
! The following code is disabled for the moment.
! c=0.d0
do i = 1,n
do j = 1,n
do k = 1,n
c(j,i) = c(j,i) + a(k,i) * b(j,k)
enddo
enddo
enddo
end subroutine matrix_multiply
! { dg-final { scan-tree-dump-times "number of SCoPs: 1" 1 "graphite" { xfail *-*-* } } }
! { dg-final { scan-tree-dump-times "will be loop blocked" 1 "graphite" { xfail *-*-* } } }
! { dg-final { cleanup-tree-dump "graphite" } }
|