aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorSebastian Pop <sebastian.pop@amd.com>2010-02-06 17:41:41 +0000
committerSebastian Pop <spop@gcc.gnu.org>2010-02-06 17:41:41 +0000
commit54cf8879dac38209da02bc3676eeed931e06487a (patch)
treed6393345afc98d237bbc113cd574f5cece70c0b6 /gcc
parentb5eb099fb879d57196cbbff4df375cc26abbfb76 (diff)
downloadgcc-54cf8879dac38209da02bc3676eeed931e06487a.zip
gcc-54cf8879dac38209da02bc3676eeed931e06487a.tar.gz
gcc-54cf8879dac38209da02bc3676eeed931e06487a.tar.bz2
Fix testsuite.
2010-02-03 Sebastian Pop <sebastian.pop@amd.com> * testsuite/gcc.dg/graphite/interchange-mvt.c: Un-XFAILed. * testsuite/gcc.dg/graphite/scop-0.c: Fix spaces. * testsuite/gfortran.dg/graphite/block-1.f90: Rewrite expected output. * testsuite/gfortran.dg/graphite/block-2.f: Same. * testsuite/gfortran.dg/graphite/block-3.f90: Same. * testsuite/gfortran.dg/graphite/block-4.f90: Same. * testsuite/gfortran.dg/graphite/interchange-1.f: Un-XFAILed. * testsuite/gfortran.dg/graphite/interchange-3.f90: Un-XFAILed. From-SVN: r156550
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog.graphite11
-rw-r--r--gcc/testsuite/gcc.dg/graphite/block-6.c1
-rw-r--r--gcc/testsuite/gcc.dg/graphite/interchange-mvt.c2
-rw-r--r--gcc/testsuite/gcc.dg/graphite/scop-0.c2
-rw-r--r--gcc/testsuite/gfortran.dg/graphite/block-1.f907
-rw-r--r--gcc/testsuite/gfortran.dg/graphite/block-2.f5
-rw-r--r--gcc/testsuite/gfortran.dg/graphite/block-3.f905
-rw-r--r--gcc/testsuite/gfortran.dg/graphite/block-4.f905
-rw-r--r--gcc/testsuite/gfortran.dg/graphite/interchange-1.f2
-rw-r--r--gcc/testsuite/gfortran.dg/graphite/interchange-3.f902
10 files changed, 28 insertions, 14 deletions
diff --git a/gcc/ChangeLog.graphite b/gcc/ChangeLog.graphite
index c5d0efe..1989467 100644
--- a/gcc/ChangeLog.graphite
+++ b/gcc/ChangeLog.graphite
@@ -1,5 +1,16 @@
2010-02-03 Sebastian Pop <sebastian.pop@amd.com>
+ * testsuite/gcc.dg/graphite/interchange-mvt.c: Un-XFAILed.
+ * testsuite/gcc.dg/graphite/scop-0.c: Fix spaces.
+ * testsuite/gfortran.dg/graphite/block-1.f90: Rewrite expected output.
+ * testsuite/gfortran.dg/graphite/block-2.f: Same.
+ * testsuite/gfortran.dg/graphite/block-3.f90: Same.
+ * testsuite/gfortran.dg/graphite/block-4.f90: Same.
+ * testsuite/gfortran.dg/graphite/interchange-1.f: Un-XFAILed.
+ * testsuite/gfortran.dg/graphite/interchange-3.f90: Un-XFAILed.
+
+2010-02-03 Sebastian Pop <sebastian.pop@amd.com>
+
* graphite-dependences.c (new_poly_ddr): Initialize PDDR_KIND and
PDDR_ORIGINAL_SCATTERING_P.
(pddr_is_empty): Rewritten.
diff --git a/gcc/testsuite/gcc.dg/graphite/block-6.c b/gcc/testsuite/gcc.dg/graphite/block-6.c
index 171b1df..a147ab8 100644
--- a/gcc/testsuite/gcc.dg/graphite/block-6.c
+++ b/gcc/testsuite/gcc.dg/graphite/block-6.c
@@ -43,6 +43,5 @@ main (void)
return res != 204007516;
}
-
/* { dg-final { scan-tree-dump-times "will be loop blocked" 0 "graphite" } } */
/* { dg-final { cleanup-tree-dump "graphite" } } */
diff --git a/gcc/testsuite/gcc.dg/graphite/interchange-mvt.c b/gcc/testsuite/gcc.dg/graphite/interchange-mvt.c
index 1e44f0a..fd66079 100644
--- a/gcc/testsuite/gcc.dg/graphite/interchange-mvt.c
+++ b/gcc/testsuite/gcc.dg/graphite/interchange-mvt.c
@@ -52,6 +52,6 @@ main (void)
return res != 199900000;
}
-/* { dg-final { scan-tree-dump-times "will be interchanged" 1 "graphite" { xfail *-*-* } } } */
+/* { dg-final { scan-tree-dump-times "will be interchanged" 1 "graphite" } } */
/* { dg-final { cleanup-tree-dump "graphite" } } */
diff --git a/gcc/testsuite/gcc.dg/graphite/scop-0.c b/gcc/testsuite/gcc.dg/graphite/scop-0.c
index 067e7bc..120de9c 100644
--- a/gcc/testsuite/gcc.dg/graphite/scop-0.c
+++ b/gcc/testsuite/gcc.dg/graphite/scop-0.c
@@ -17,6 +17,6 @@ int toto()
/* End scop 1. */
}
-/* { dg-final { scan-tree-dump-times "number of SCoPs: 1" 1 "graphite"} } */
+/* { dg-final { scan-tree-dump-times "number of SCoPs: 1" 1 "graphite"} } */
/* { dg-final { cleanup-tree-dump "graphite" } } */
diff --git a/gcc/testsuite/gfortran.dg/graphite/block-1.f90 b/gcc/testsuite/gfortran.dg/graphite/block-1.f90
index 8125853..cea307e 100644
--- a/gcc/testsuite/gfortran.dg/graphite/block-1.f90
+++ b/gcc/testsuite/gfortran.dg/graphite/block-1.f90
@@ -3,10 +3,11 @@ 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
+c=0.d0
end subroutine matrix_multiply
-! { dg-final { scan-tree-dump-times "Loop blocked" 2 "graphite" { xfail *-*-* } } }
-! { dg-final { cleanup-tree-dump "graphite" } }
+! { dg-final { scan-tree-dump-times "number of SCoPs: 1" 1 "graphite" } }
+! { dg-final { scan-tree-dump-times "will be loop blocked" 1 "graphite" { xfail *-*-* } } }
+! { dg-final { cleanup-tree-dump "graphite" } }
diff --git a/gcc/testsuite/gfortran.dg/graphite/block-2.f b/gcc/testsuite/gfortran.dg/graphite/block-2.f
index 6c7ee6f..75fccca 100644
--- a/gcc/testsuite/gfortran.dg/graphite/block-2.f
+++ b/gcc/testsuite/gfortran.dg/graphite/block-2.f
@@ -16,5 +16,6 @@
RETURN
END
-! { dg-final { scan-tree-dump-times "Loop blocked" 3 "graphite" { xfail { "*-*-*" } } } }
-! { dg-final { cleanup-tree-dump "graphite" } }
+! { dg-final { scan-tree-dump-times "number of SCoPs: 2" 1 "graphite" } }
+! { dg-final { scan-tree-dump-times "will be loop blocked" 2 "graphite" { xfail *-*-* } } }
+! { dg-final { cleanup-tree-dump "graphite" } }
diff --git a/gcc/testsuite/gfortran.dg/graphite/block-3.f90 b/gcc/testsuite/gfortran.dg/graphite/block-3.f90
index 1579e66..9a66adf 100644
--- a/gcc/testsuite/gfortran.dg/graphite/block-3.f90
+++ b/gcc/testsuite/gfortran.dg/graphite/block-3.f90
@@ -12,6 +12,7 @@ enddo
end subroutine matrix_multiply
-! { dg-final { scan-tree-dump-times "Loop blocked" 2 "graphite" { xfail *-*-* } } }
-! { dg-final { cleanup-tree-dump "graphite" } }
+! { 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" } }
diff --git a/gcc/testsuite/gfortran.dg/graphite/block-4.f90 b/gcc/testsuite/gfortran.dg/graphite/block-4.f90
index f37d70a..061830f 100644
--- a/gcc/testsuite/gfortran.dg/graphite/block-4.f90
+++ b/gcc/testsuite/gfortran.dg/graphite/block-4.f90
@@ -15,6 +15,7 @@ enddo
end subroutine matrix_multiply
-! { dg-final { scan-tree-dump-times "Loop blocked" 2 "graphite" { xfail *-*-* } } }
-! { dg-final { cleanup-tree-dump "graphite" } }
+! { 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" } }
diff --git a/gcc/testsuite/gfortran.dg/graphite/interchange-1.f b/gcc/testsuite/gfortran.dg/graphite/interchange-1.f
index 334fbd8..fad61e2 100644
--- a/gcc/testsuite/gfortran.dg/graphite/interchange-1.f
+++ b/gcc/testsuite/gfortran.dg/graphite/interchange-1.f
@@ -41,5 +41,5 @@
! known to be 4 in the inner two loops. See interchange-2.f for the
! kernel from bwaves.
-! { dg-final { scan-tree-dump-times "will be interchanged" 1 "graphite" { xfail *-*-* } } }
+! { dg-final { scan-tree-dump-times "will be interchanged" 1 "graphite" } }
! { dg-final { cleanup-tree-dump "graphite" } }
diff --git a/gcc/testsuite/gfortran.dg/graphite/interchange-3.f90 b/gcc/testsuite/gfortran.dg/graphite/interchange-3.f90
index 04f4a13..06da2b3 100644
--- a/gcc/testsuite/gfortran.dg/graphite/interchange-3.f90
+++ b/gcc/testsuite/gfortran.dg/graphite/interchange-3.f90
@@ -24,5 +24,5 @@ Program FOO
end Program FOO
-! { dg-final { scan-tree-dump-times "will be interchanged" 1 "graphite" { xfail *-*-* } } }
+! { dg-final { scan-tree-dump-times "will be interchanged" 1 "graphite" } }
! { dg-final { cleanup-tree-dump "graphite" } }