aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraphclones.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cgraphclones.cc')
-rw-r--r--gcc/cgraphclones.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cgraphclones.cc b/gcc/cgraphclones.cc
index eb0fa87..bb4b3c5 100644
--- a/gcc/cgraphclones.cc
+++ b/gcc/cgraphclones.cc
@@ -375,6 +375,7 @@ cgraph_node::create_clone (tree new_decl, profile_count prof_count,
if (!new_inlined_to)
prof_count = count.combine_with_ipa_count (prof_count);
new_node->count = prof_count;
+ new_node->calls_declare_variant_alt = this->calls_declare_variant_alt;
/* Update IPA profile. Local profiles need no updating in original. */
if (update_original)