Patchwork [2/2] Add DEBUG_FUNCTION to all the dot_* debugging functions.

login
register
mail settings
Submitter Sebastian Pop
Date Sept. 17, 2010, 9:38 p.m.
Message ID <1284759533-1647-2-git-send-email-sebpop@gmail.com>
Download mbox | patch
Permalink /patch/65109/
State New
Headers show

Comments

Sebastian Pop - Sept. 17, 2010, 9:38 p.m.
Regstrapped on amd64-linux.  Committed to trunk.

2010-09-17  Sebastian Pop  <sebastian.pop@amd.com>

	* graphite-dependences.c (dot_deps): Add DEBUG_FUNCTION.
	(dot_deps_stmt): Same.
	* graphite-poly.c (dot_lst): Same.
	* graphite-scop-detection.c (dot_all_scops): Same.
	(dot_scop): Same.
---
 gcc/ChangeLog                 |    8 ++++++++
 gcc/graphite-dependences.c    |    4 ++--
 gcc/graphite-poly.c           |    2 +-
 gcc/graphite-scop-detection.c |    4 ++--
 4 files changed, 13 insertions(+), 5 deletions(-)

Patch

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ff81b02..3e51ca8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,13 @@ 
 2010-09-17  Sebastian Pop  <sebastian.pop@amd.com>
 
+	* graphite-dependences.c (dot_deps): Add DEBUG_FUNCTION.
+	(dot_deps_stmt): Same.
+	* graphite-poly.c (dot_lst): Same.
+	* graphite-scop-detection.c (dot_all_scops): Same.
+	(dot_scop): Same.
+
+2010-09-17  Sebastian Pop  <sebastian.pop@amd.com>
+
 	Revert commit: 2009-12-16  Ben Elliston  <bje@au.ibm.com>
 	* tree-data-ref.c (dot_rdg_1): Added back.
 	(dot_rdg): Same.  Added "#if 0" around system call.
diff --git a/gcc/graphite-dependences.c b/gcc/graphite-dependences.c
index 6296bfc..8c7a642 100644
--- a/gcc/graphite-dependences.c
+++ b/gcc/graphite-dependences.c
@@ -950,7 +950,7 @@  dot_deps_1 (FILE *file, scop_p scop)
 
 /* Display all the data dependences in SCoP using dotty.  */
 
-void
+DEBUG_FUNCTION void
 dot_deps (scop_p scop)
 {
   /* When debugging, enable the following code.  This cannot be used
@@ -971,7 +971,7 @@  dot_deps (scop_p scop)
 
 /* Display all the statement dependences in SCoP using dotty.  */
 
-void
+DEBUG_FUNCTION void
 dot_deps_stmt (scop_p scop)
 {
   /* When debugging, enable the following code.  This cannot be used
diff --git a/gcc/graphite-poly.c b/gcc/graphite-poly.c
index ae6ad44..ffd01f9 100644
--- a/gcc/graphite-poly.c
+++ b/gcc/graphite-poly.c
@@ -1269,7 +1269,7 @@  dot_lst_1 (FILE *file, lst_p lst)
 
 /* Display the LST using dotty.  */
 
-void
+DEBUG_FUNCTION void
 dot_lst (lst_p lst)
 {
   /* When debugging, enable the following code.  This cannot be used
diff --git a/gcc/graphite-scop-detection.c b/gcc/graphite-scop-detection.c
index e2847b8..bd0f7bd 100644
--- a/gcc/graphite-scop-detection.c
+++ b/gcc/graphite-scop-detection.c
@@ -1489,7 +1489,7 @@  dot_all_scops_1 (FILE *file, VEC (scop_p, heap) *scops)
 
 /* Display all SCoPs using dotty.  */
 
-void
+DEBUG_FUNCTION void
 dot_all_scops (VEC (scop_p, heap) *scops)
 {
   /* When debugging, enable the following code.  This cannot be used
@@ -1510,7 +1510,7 @@  dot_all_scops (VEC (scop_p, heap) *scops)
 
 /* Display all SCoPs using dotty.  */
 
-void
+DEBUG_FUNCTION void
 dot_scop (scop_p scop)
 {
   VEC (scop_p, heap) *scops = NULL;