mirror of git://gcc.gnu.org/git/gcc.git
* cgraphunit.c (clone_of_p): Define unconditionally.
From-SVN: r165504
This commit is contained in:
parent
4069d5fbd1
commit
936fcef153
|
@ -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>
|
2010-10-15 Richard Guenther <rguenther@suse.de>
|
||||||
|
|
||||||
PR lto/45957
|
PR lto/45957
|
||||||
|
@ -24,7 +28,7 @@
|
||||||
redirected to clone, be happy.
|
redirected to clone, be happy.
|
||||||
* cgraph.h (cgraph node): Enable former_clone_of unconditinally.
|
* cgraph.h (cgraph node): Enable former_clone_of unconditinally.
|
||||||
* cgraphunit.c (verify_cgraph_node, cgraph_materialize_clone): Handle
|
* 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>
|
2010-10-14 Iain Sandoe <iains@gcc.gnu.org>
|
||||||
|
|
||||||
|
|
|
@ -396,7 +396,6 @@ cgraph_mark_if_needed (tree decl)
|
||||||
cgraph_mark_needed_node (node);
|
cgraph_mark_needed_node (node);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef ENABLE_CHECKING
|
|
||||||
/* Return TRUE if NODE2 is equivalent to NODE or its clone. */
|
/* Return TRUE if NODE2 is equivalent to NODE or its clone. */
|
||||||
static bool
|
static bool
|
||||||
clone_of_p (struct cgraph_node *node, struct cgraph_node *node2)
|
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;
|
node2 = node2->clone_of;
|
||||||
return node2 != NULL;
|
return node2 != NULL;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Verify edge E count and frequency. */
|
/* Verify edge E count and frequency. */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue