aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-inline.c
diff options
context:
space:
mode:
authorMartin Jambor <mjambor@suse.cz>2013-06-24 14:40:17 +0200
committerMartin Jambor <jamborm@gcc.gnu.org>2013-06-24 14:40:17 +0200
commit44a60244592da0196f7c1d8cfe56bc95d7cdae0e (patch)
treef89f7096e73c7e3897bc706a86a08d49270d459d /gcc/ipa-inline.c
parent7c5848b89955c3ec45a78630f23d610f13e3e47b (diff)
downloadgcc-44a60244592da0196f7c1d8cfe56bc95d7cdae0e.zip
gcc-44a60244592da0196f7c1d8cfe56bc95d7cdae0e.tar.gz
gcc-44a60244592da0196f7c1d8cfe56bc95d7cdae0e.tar.bz2
re PR tree-optimization/57539 (ice in ipa_edge_duplication_hook)
2013-06-24 Martin Jambor <mjambor@suse.cz> PR tree-optimization/57539 * cgraphclones.c (cgraph_clone_node): Add parameter new_inlined_to, set global.inlined_to of the new node to it. All callers changed. * ipa-inline-transform.c (clone_inlined_nodes): New variable inlining_into, pass it to cgraph_clone_node. * ipa-prop.c (ipa_propagate_indirect_call_infos): Do not call ipa_free_edge_args_substructures. (ipa_edge_duplication_hook): Only add edges from inlined nodes to rdesc linked list. Do not assert rdesc edges have inlined caller. Assert we have found an rdesc in the rdesc list. From-SVN: r200368
Diffstat (limited to 'gcc/ipa-inline.c')
-rw-r--r--gcc/ipa-inline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c
index d1f0089..6eede0d 100644
--- a/gcc/ipa-inline.c
+++ b/gcc/ipa-inline.c
@@ -1314,7 +1314,7 @@ recursive_inlining (struct cgraph_edge *edge,
/* We need original clone to copy around. */
master_clone = cgraph_clone_node (node, node->symbol.decl,
node->count, CGRAPH_FREQ_BASE,
- false, vNULL, true);
+ false, vNULL, true, NULL);
for (e = master_clone->callees; e; e = e->next_callee)
if (!e->inline_failed)
clone_inlined_nodes (e, true, false, NULL);