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
This commit is contained in:
H.J. Lu 2007-07-03 14:19:33 +00:00 committed by H.J. Lu
parent 8f7bdf1842
commit 72b31363fb
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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. */