From: H.J. Lu Date: Tue, 3 Jul 2007 14:19:33 +0000 (+0000) Subject: ddg.c (check_sccs): Define only if ENABLE_CHECKING is defined. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=72b31363fbb107baacc1168ab3095acbfcffef2a;p=gcc.git ddg.c (check_sccs): Define only if ENABLE_CHECKING is defined. 2007-07-03 H.J. Lu * ddg.c (check_sccs): Define only if ENABLE_CHECKING is defined. From-SVN: r126258 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2cbddc7f039..af3a58e88ad 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 98228065460..31910b3a462 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. */