Commit 72b31363 by H.J. Lu Committed by H.J. Lu

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
parent 8f7bdf18
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> 2007-07-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
PR target/28307 PR target/28307
......
...@@ -870,6 +870,7 @@ order_sccs (ddg_all_sccs_ptr g) ...@@ -870,6 +870,7 @@ order_sccs (ddg_all_sccs_ptr g)
(int (*) (const void *, const void *)) compare_sccs); (int (*) (const void *, const void *)) compare_sccs);
} }
#ifdef ENABLE_CHECKING
/* Check that every node in SCCS belongs to exactly one strongly connected /* Check that every node in SCCS belongs to exactly one strongly connected
component and that no element of SCCS is empty. */ component and that no element of SCCS is empty. */
static void static void
...@@ -889,7 +890,7 @@ check_sccs (ddg_all_sccs_ptr sccs, int num_nodes) ...@@ -889,7 +890,7 @@ check_sccs (ddg_all_sccs_ptr sccs, int num_nodes)
} }
sbitmap_free (tmp); sbitmap_free (tmp);
} }
#endif
/* Perform the Strongly Connected Components decomposing algorithm on the /* Perform the Strongly Connected Components decomposing algorithm on the
DDG and return DDG_ALL_SCCS structure that contains them. */ DDG and return DDG_ALL_SCCS structure that contains them. */
......
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