aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Matz <matz@gcc.gnu.org>2010-10-15 12:22:28 +0000
committerMichael Matz <matz@gcc.gnu.org>2010-10-15 12:22:28 +0000
commit936fcef153175949f2bf0237da57e70416a543bf (patch)
tree16ce2873f2c2417c98766a901f721f30fb86f121
parent4069d5fbd13e96d5f241bb492212e30c70588dbe (diff)
downloadgcc-936fcef153175949f2bf0237da57e70416a543bf.zip
gcc-936fcef153175949f2bf0237da57e70416a543bf.tar.gz
gcc-936fcef153175949f2bf0237da57e70416a543bf.tar.bz2
* cgraphunit.c (clone_of_p): Define unconditionally.
From-SVN: r165504
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/cgraphunit.c2
2 files changed, 5 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8346bcd..4bbc979 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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>
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c
index 7d4349a..2abcb67 100644
--- a/gcc/cgraphunit.c
+++ b/gcc/cgraphunit.c
@@ -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. */