diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-10-03 19:52:11 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-10-03 19:52:11 +0000 |
commit | 007a6c275eb651ed5892d7abf8161e0be8471bca (patch) | |
tree | 985ae03907469842ffadf25aece38775da66d63a /gcc/cgraphclones.c | |
parent | 82d6b68f0005342a0a2d781dc7d2a8899fbdac9a (diff) | |
download | gcc-007a6c275eb651ed5892d7abf8161e0be8471bca.tar.gz |
* cgraph.h (struct indirect_call_info): Add IN_POLYMORPHIC_CDTOR
* lto-cgraph.c (lto_output_edge, input_edge): Stream
in_polymorphic_cdtor
* cgraph.c (symbol_table::create_edge): Compute in_polymorphic_cdtor.
(cgraph_edge::make_speculative): Copy in_polymorphic_cdtor.
* cgraphclones.c (cgraph_edge::clone): Likewise.
* ipa-prop.c (update_jump_functions_after_inlining,
try_make_edge_direct_virtual_call): Pass in_polymorphic_cdtor
to possible_dynamic_type_change.
(decl_maybe_in_construction_p): Allow empty OUTER_TYPE and BASE.
(ipa_polymorphic_call_context::possible_dynamic_type_change): Add
IN_POLY_CDOTR argument.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215871 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraphclones.c')
-rw-r--r-- | gcc/cgraphclones.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cgraphclones.c b/gcc/cgraphclones.c index 37b234f7891..c487c13f3db 100644 --- a/gcc/cgraphclones.c +++ b/gcc/cgraphclones.c @@ -159,6 +159,7 @@ cgraph_edge::clone (cgraph_node *n, gimple call_stmt, unsigned stmt_uid, new_edge->can_throw_external = can_throw_external; new_edge->call_stmt_cannot_inline_p = call_stmt_cannot_inline_p; new_edge->speculative = speculative; + new_edge->in_polymorphic_cdtor = in_polymorphic_cdtor; if (update_original) { count -= new_edge->count; |