OSDN Git Service

Modify the testsuite for the new Graphite.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gfortran.dg / graphite / block-4.f90
1 subroutine matrix_multiply(a,b,c,n)
2
3 real(8), dimension(n,n) :: a,b,c
4
5 ! The following code is disabled for the moment.
6 ! c=0.d0
7
8 do i = 1,n
9   do j = 1,n
10     do k = 1,n
11       c(j,i) = c(j,i) + a(k,i) * b(j,k)
12     enddo
13  enddo
14 enddo
15
16 end subroutine matrix_multiply
17
18 ! { dg-final { scan-tree-dump-times "Loop blocked" 2 "graphite" { xfail *-*-* } } } 
19 ! { dg-final { cleanup-tree-dump "graphite" } } 
20