* cgraphunit.c (clone_of_p): Define unconditionally.
authormatz <matz@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Oct 2010 12:22:28 +0000 (12:22 +0000)
committermatz <matz@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Oct 2010 12:22:28 +0000 (12:22 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165504 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/cgraphunit.c

index 8346bcd..4bbc979 100644 (file)
@@ -1,3 +1,7 @@
+2010-10-15  Michael Matz  <matz@suse.de>
+
+       * cgraphunit.c (clone_of_p): Define unconditionally.
+
 2010-10-15  Richard Guenther  <rguenther@suse.de>
 
        PR lto/45957
@@ -24,7 +28,7 @@
        redirected to clone, be happy.
        * cgraph.h (cgraph node): Enable former_clone_of unconditinally.
        * cgraphunit.c (verify_cgraph_node, cgraph_materialize_clone): Handle
-       former_clone_of unconditinally.
+       former_clone_of unconditionally.
        
 2010-10-14  Iain Sandoe  <iains@gcc.gnu.org>
 
index 7d4349a..2abcb67 100644 (file)
@@ -396,7 +396,6 @@ cgraph_mark_if_needed (tree decl)
     cgraph_mark_needed_node (node);
 }
 
-#ifdef ENABLE_CHECKING
 /* Return TRUE if NODE2 is equivalent to NODE or its clone.  */
 static bool
 clone_of_p (struct cgraph_node *node, struct cgraph_node *node2)
@@ -405,7 +404,6 @@ clone_of_p (struct cgraph_node *node, struct cgraph_node *node2)
     node2 = node2->clone_of;
   return node2 != NULL;
 }
-#endif
 
 /* Verify edge E count and frequency.  */