diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-09-16 17:11:38 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-09-16 17:11:38 +0000 |
commit | 083e227abd3b154e69db6ea4d6a5c855a93e734e (patch) | |
tree | 2a2125a45a84290bd78aea1dd0bd4f7f0e06dafc /gcc/tree-inline.c | |
parent | d25f2c6f71b6641ad7233db61a80cc2f19740c05 (diff) | |
download | gcc-083e227abd3b154e69db6ea4d6a5c855a93e734e.tar.gz |
* g++.dg/lto/pr45679-1_0.C: New file.
* g++.dg/lto/pr45679-1_1.C: New file.
* g++.dg/lto/pr45679-0_0.C: New file.
* g++.dg/lto/pr45679-0_1.C: New file.
* lto-cgraph.c (lto_output_node): Fix handling of clones.
* ipa.c (cgraph_remove_unreachabloe_nodes): Fix handling of
unreachable clones with reachable clones.
* tree-inline.c (copy_bb): Fix sanity checking when producing
unreachable clone.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164344 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r-- | gcc/tree-inline.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index 362211aa7b0..2d3958f2c04 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -1741,7 +1741,8 @@ copy_bb (copy_body_data *id, basic_block bb, int frequency_scale, most common reason for missing edges). */ gcc_assert (dest->needed || !dest->analyzed || dest->address_taken - || !id->src_node->analyzed); + || !id->src_node->analyzed + || !id->dst_node->analyzed); if (id->transform_call_graph_edges == CB_CGE_MOVE_CLONES) cgraph_create_edge_including_clones (id->dst_node, dest, orig_stmt, stmt, bb->count, |