mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-27 10:03:58 +08:00
ipa.c (cgraph_remove_unreachable_nodes): Update former_clone_of even when not checking.
2010-12-23 Martin Jambor <mjambor@suse.cz> * ipa.c (cgraph_remove_unreachable_nodes): Update former_clone_of even when not checking. From-SVN: r168209
This commit is contained in:
parent
539b4d1106
commit
f5333fe82b
@ -1,3 +1,8 @@
|
||||
2010-12-23 Martin Jambor <mjambor@suse.cz>
|
||||
|
||||
* ipa.c (cgraph_remove_unreachable_nodes): Update former_clone_of even
|
||||
when not checking.
|
||||
|
||||
2010-12-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
* configure.ac (gcc_cv_ld_eh_frame_hdr): Only check GNU ld for
|
||||
|
@ -428,10 +428,8 @@ cgraph_remove_unreachable_nodes (bool before_inlining_p, FILE *file)
|
||||
node->clone_of->clones = node->next_sibling_clone;
|
||||
if (node->next_sibling_clone)
|
||||
node->next_sibling_clone->prev_sibling_clone = node->prev_sibling_clone;
|
||||
#ifdef ENABLE_CHECKING
|
||||
if (node->clone_of)
|
||||
node->former_clone_of = node->clone_of->decl;
|
||||
#endif
|
||||
node->clone_of = NULL;
|
||||
node->next_sibling_clone = NULL;
|
||||
node->prev_sibling_clone = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user