* cgraphunit.c (clone_of_p): Define unconditionally.
authorMichael Matz <matz@gcc.gnu.org>
Fri, 15 Oct 2010 12:22:28 +0000 (12:22 +0000)
committerMichael Matz <matz@gcc.gnu.org>
Fri, 15 Oct 2010 12:22:28 +0000 (12:22 +0000)
From-SVN: r165504

gcc/ChangeLog
gcc/cgraphunit.c

index 8346bcd75369bb947fc79dfbf064e59da4531836..4bbc979d79a38d24f1bf78d28cdc6f522f85ae9d 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 7d4349a8b6dbe43e75a2a7184c67452b3cc486f7..2abcb67e66a7e35eddf967de47da66432612db46 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.  */