From f9fd305bd4dc6498ec0456b8f3c6c6dfad94b87f Mon Sep 17 00:00:00 2001 From: Martin Jambor Date: Fri, 22 Apr 2011 14:52:30 +0200 Subject: [PATCH] re PR middle-end/48585 (483.xalancbmk in SPEC CPU 2006 failed to build) 2011-04-22 Martin Jambor PR middle-end/48585 * tree-inline.c (copy_bb): Create new edges only for analyzed nodes. From-SVN: r172858 --- gcc/ChangeLog | 6 ++++++ gcc/tree-inline.c | 1 + 2 files changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2401fd2fee5..8a416a55acf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-04-22 Martin Jambor + + PR middle-end/48585 + * tree-inline.c (copy_bb): Create new edges only for analyzed + nodes. + 2011-04-22 Alexander Monakov PR c/36750 diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index c255f52f739..797ea8bd572 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -1725,6 +1725,7 @@ copy_bb (copy_body_data *id, basic_block bb, int frequency_scale, if ((!edge || (edge->indirect_inlining_edge && id->transform_call_graph_edges == CB_CGE_MOVE_CLONES)) + && id->dst_node->analyzed && (fn = gimple_call_fndecl (stmt)) != NULL) { struct cgraph_node *dest = cgraph_get_node (fn); -- 2.30.2