From 143384686241627bd96a5f7509aee3a8291280a5 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Wed, 14 Oct 2020 16:07:07 +0200 Subject: [PATCH] Turn offset_map to HOST_WIDE_INT gcc/ChangeLog: 2020-10-14 Jan Hubicka * ipa-fnsummary.c (remap_edge_summaries): Make offset_map HOST_WIDE_INT. (remap_freqcounting_predicate): Likewise. (ipa_merge_fn_summary_after_inlining): Likewise. * ipa-predicate.c (predicate::remap_after_inlining): Likewise * ipa-predicate.h (remap_after_inlining): Update. --- gcc/ipa-fnsummary.c | 6 +++--- gcc/ipa-predicate.c | 2 +- gcc/ipa-predicate.h | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/gcc/ipa-fnsummary.c b/gcc/ipa-fnsummary.c index 771f432ebec..9e3eda4d3cb 100644 --- a/gcc/ipa-fnsummary.c +++ b/gcc/ipa-fnsummary.c @@ -3896,7 +3896,7 @@ remap_edge_summaries (struct cgraph_edge *inlined_edge, class ipa_node_params *params_summary, class ipa_fn_summary *callee_info, vec operand_map, - vec offset_map, + vec offset_map, clause_t possible_truths, predicate *toplev_predicate) { @@ -3957,7 +3957,7 @@ remap_freqcounting_predicate (class ipa_fn_summary *info, class ipa_fn_summary *callee_info, vec *v, vec operand_map, - vec offset_map, + vec offset_map, clause_t possible_truths, predicate *toplev_predicate) @@ -3987,7 +3987,7 @@ ipa_merge_fn_summary_after_inlining (struct cgraph_edge *edge) clause_t clause = 0; /* not_inline is known to be false. */ size_time_entry *e; auto_vec operand_map; - auto_vec offset_map; + auto_vec offset_map; int i; predicate toplev_predicate; class ipa_call_summary *es = ipa_call_summaries->get (edge); diff --git a/gcc/ipa-predicate.c b/gcc/ipa-predicate.c index 27dabf2dc6a..605da912d26 100644 --- a/gcc/ipa-predicate.c +++ b/gcc/ipa-predicate.c @@ -508,7 +508,7 @@ predicate::remap_after_inlining (class ipa_fn_summary *info, class ipa_node_params *params_summary, class ipa_fn_summary *callee_info, vec operand_map, - vec offset_map, + vec offset_map, clause_t possible_truths, const predicate &toplev_predicate) { diff --git a/gcc/ipa-predicate.h b/gcc/ipa-predicate.h index 05e37073817..34a0d239d2a 100644 --- a/gcc/ipa-predicate.h +++ b/gcc/ipa-predicate.h @@ -243,7 +243,8 @@ public: predicate remap_after_inlining (class ipa_fn_summary *, class ipa_node_params *params_summary, class ipa_fn_summary *, - vec, vec, clause_t, const predicate &); + vec, vec, + clause_t, const predicate &); void stream_in (class lto_input_block *); void stream_out (struct output_block *); -- 2.30.2