OSDN Git Service

2007-07-03 H.J. Lu <hongjiu.lu@intel.com>
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Jul 2007 14:19:33 +0000 (14:19 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Jul 2007 14:19:33 +0000 (14:19 +0000)
* ddg.c (check_sccs): Define only if ENABLE_CHECKING is
defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126258 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/ddg.c

index 2cbddc7..af3a58e 100644 (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
index 9822806..31910b3 100644 (file)
--- 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.  */