diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-17 23:12:14 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-17 23:12:14 +0000 |
commit | a510bd8da6561c4ae3cc12a7bd3a9ba0ccf185b5 (patch) | |
tree | 0f2fbe98708e13805e97bc7b12c5a0033f23ce51 /gcc/lto/lto.c | |
parent | 1bf41320ebc2b9427bda2813998eb2e869d4d0f4 (diff) | |
download | gcc-a510bd8da6561c4ae3cc12a7bd3a9ba0ccf185b5.tar.gz |
* cgraph.c (cgraph_create_virtual_clone): Only check
versionable_function_p when not in wpa and checking is enabled.
* cgrpahunit.c (cgraph_materialize_all_clones): Stabilize after
there are no more functions to materialize.
* lto/lto.c (lto_1_to_1_map): Partition non-inline clones.
(lto_promote_cross_file_statics): Deal with non-inline clones.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159518 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto/lto.c')
-rw-r--r-- | gcc/lto/lto.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c index ab55c126e9c..adfeae95ce8 100644 --- a/gcc/lto/lto.c +++ b/gcc/lto/lto.c @@ -537,9 +537,8 @@ lto_1_to_1_map (void) for (node = cgraph_nodes; node; node = node->next) { - /* We will get proper partition based on function they are inlined to or - cloned from. */ - if (node->global.inlined_to || node->clone_of) + /* We will get proper partition based on function they are inlined to. */ + if (node->global.inlined_to) continue; /* Nodes without a body do not need partitioning. */ if (!node->analyzed) @@ -721,7 +720,7 @@ lto_promote_cross_file_statics (void) struct cgraph_node *node = csi_node (csi); if (node->local.externally_visible) continue; - if (node->clone_of || node->global.inlined_to) + if (node->global.inlined_to) continue; if (!DECL_EXTERNAL (node->decl) && (referenced_from_other_partition_p (&node->ref_list, set, vset) |