diff options
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r-- | gcc/cgraphunit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 4ed3f7013c9..ded2f1980e3 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -183,7 +183,7 @@ cgraph_finalize_function (tree decl, bool nested) memset (&node->rtl, 0, sizeof (node->rtl)); node->analyzed = false; while (node->callees) - cgraph_remove_call (node->decl, node->callees->callee->decl); + cgraph_remove_edge (node, node->callees->callee); /* We may need to re-queue the node for assembling in case we already proceeded it and ignored as not needed. */ |