@@ -1,4 +1,10 @@
-2010-08-14 Riyadh Baghdadi <baghdadi.mr@gmail.com>
+2010-08-17 Riyadh Baghdadi <baghdadi.mr@gmail.com>
+ Sebastian Pop <sebastian.pop@amd.com>
+
+ * gcc.dg/graphite/graphite.exp: Add test rules for openscop read/write.
+ Call remove-build-file to clean up the generated *.graphite files.
+
+2010-08-17 Riyadh Baghdadi <baghdadi.mr@gmail.com>
* doc/invoke.texi (debugging options): Update documentation.
(-floop-interchange): Same.
@@ -7,7 +13,7 @@
(-fgraphite-read): Add documentation.
(-fgraphite-write): Same.
-2010-08-14 Riyadh Baghdadi <baghdadi.mr@gmail.com>
+2010-08-17 Riyadh Baghdadi <baghdadi.mr@gmail.com>
* toplev.c (process_options): Disable graphite loop optimization
options when -fgraphite-read flag is used.
@@ -44,6 +44,7 @@ set run_id_files [lsort [glob -nocomplain $srcdir/$subdir/run-id-*.c ] ]
set interchange_files [lsort [glob -nocomplain $srcdir/$subdir/interchange-*.c ] ]
set block_files [lsort [glob -nocomplain $srcdir/$subdir/block-*.c ] ]
set vect_files [lsort [glob -nocomplain $srcdir/$subdir/vect-*.c ] ]
+set openscop_id_files [lsort [glob -nocomplain $srcdir/$subdir/run-id-?.c ] ]
# Tests to be compiled.
set dg-do-what-default compile
@@ -56,6 +57,11 @@ set dg-do-what-default run
dg-runtest $run_id_files "" "-O2 -fgraphite-identity"
dg-runtest $interchange_files "" "-O2 -floop-interchange -fno-loop-block -fno-loop-strip-mine -ffast-math -fdump-tree-graphite-all"
dg-runtest $block_files "" "-O2 -floop-block -fno-loop-strip-mine -fno-loop-interchange -ffast-math -fdump-tree-graphite-all"
+dg-runtest $openscop_id_files "" "-O2 -fgraphite -floop-block -fgraphite-write"
+dg-runtest $openscop_id_files "" "-O2 -fgraphite -fgraphite-read"
+
+# Clean up.
+remove-build-file "*.graphite"
# The default action for the rest of the files is 'compile'.
set dg-do-what-default compile