Commit c34a77fd by Tobias Grosser Committed by Tobias Grosser

graphite.c (graphite_transform_loops): Always call find_transform () in ENABLE_CHECKING.

2008-12-09  Tobias Grosser  <grosser@fim.uni-passau.de>

	* graphite.c (graphite_transform_loops): Always call find_transform ()
	in ENABLE_CHECKING.  So we test these code paths, even if we do not
	generate code.

From-SVN: r142630
parent 88376272
2008-12-09 Tobias Grosser <grosser@fim.uni-passau.de> 2008-12-09 Tobias Grosser <grosser@fim.uni-passau.de>
* graphite.c (graphite_transform_loops): Always call find_transform ()
in ENABLE_CHECKING. So we test these code paths, even if we do not
generate code.
2008-12-09 Tobias Grosser <grosser@fim.uni-passau.de>
* graphite.c (print_graphite_bb): Fix printing to file != dump_file. * graphite.c (print_graphite_bb): Fix printing to file != dump_file.
2008-12-09 Jakub Jelinek <jakub@redhat.com> 2008-12-09 Jakub Jelinek <jakub@redhat.com>
...@@ -5237,6 +5237,13 @@ graphite_transform_loops (void) ...@@ -5237,6 +5237,13 @@ graphite_transform_loops (void)
if (graphite_apply_transformations (scop)) if (graphite_apply_transformations (scop))
gloog (scop, find_transform (scop)); gloog (scop, find_transform (scop));
#ifdef ENABLE_CHECKING
else
{
struct clast_stmt *stmt = find_transform (scop);
cloog_clast_free (stmt);
}
#endif
} }
/* Cleanup. */ /* Cleanup. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment