aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2007-07-03 14:19:33 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2007-07-03 07:19:33 -0700
commit72b31363fbb107baacc1168ab3095acbfcffef2a (patch)
tree28d65f29d7967c72826514f35207b95ab059011f /gcc
parent8f7bdf1842558f01a5e2b658aba07c422b470fc4 (diff)
downloadgcc-72b31363fbb107baacc1168ab3095acbfcffef2a.zip
gcc-72b31363fbb107baacc1168ab3095acbfcffef2a.tar.gz
gcc-72b31363fbb107baacc1168ab3095acbfcffef2a.tar.bz2
ddg.c (check_sccs): Define only if ENABLE_CHECKING is defined.
2007-07-03 H.J. Lu <hongjiu.lu@intel.com> * ddg.c (check_sccs): Define only if ENABLE_CHECKING is defined. From-SVN: r126258
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/ddg.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2cbddc7..af3a58e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2007-07-03 H.J. Lu <hongjiu.lu@intel.com>
+
+ * ddg.c (check_sccs): Define only if ENABLE_CHECKING is
+ defined.
+
2007-07-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
PR target/28307
diff --git a/gcc/ddg.c b/gcc/ddg.c
index 9822806..31910b3 100644
--- a/gcc/ddg.c
+++ b/gcc/ddg.c
@@ -870,6 +870,7 @@ order_sccs (ddg_all_sccs_ptr g)
(int (*) (const void *, const void *)) compare_sccs);
}
+#ifdef ENABLE_CHECKING
/* Check that every node in SCCS belongs to exactly one strongly connected
component and that no element of SCCS is empty. */
static void
@@ -889,7 +890,7 @@ check_sccs (ddg_all_sccs_ptr sccs, int num_nodes)
}
sbitmap_free (tmp);
}
-
+#endif
/* Perform the Strongly Connected Components decomposing algorithm on the
DDG and return DDG_ALL_SCCS structure that contains them. */