diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2cbddc7f0393..af3a58e88ad5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-07-03 H.J. Lu + + * ddg.c (check_sccs): Define only if ENABLE_CHECKING is + defined. + 2007-07-03 Rainer Orth PR target/28307 diff --git a/gcc/ddg.c b/gcc/ddg.c index 982280654607..31910b3a4623 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. */