From 6b6a80654c704ee4ec9bb3c951af12353397a1b8 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 10 Dec 2019 21:35:30 +0100 Subject: [PATCH] * ipa-param-manipulation.c (ipa_param_body_adjustments::register_replacement): Fix comment typo - accross -> across. * ipa-sra.c (propagate_used_across_scc_edge, ipa_sra_analysis): Likewise. (param_splitting_across_edge): Fix typo in dump message - accross -> across. From-SVN: r279188 --- gcc/ChangeLog | 10 ++++++++++ gcc/ipa-param-manipulation.c | 2 +- gcc/ipa-sra.c | 10 +++++----- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 570f65fa818..8130b6689da 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +2019-12-10 Jakub Jelinek + + * ipa-param-manipulation.c + (ipa_param_body_adjustments::register_replacement): Fix comment typo + - accross -> across. + * ipa-sra.c (propagate_used_across_scc_edge, ipa_sra_analysis): + Likewise. + (param_splitting_across_edge): Fix typo in dump message - accross + -> across. + 2019-12-10 Jan Hubicka * cgraph.c (cgraph_node::verify_node): Verify tp_first_run. diff --git a/gcc/ipa-param-manipulation.c b/gcc/ipa-param-manipulation.c index bbf646726e2..28ac2b8ad6e 100644 --- a/gcc/ipa-param-manipulation.c +++ b/gcc/ipa-param-manipulation.c @@ -895,7 +895,7 @@ ipa_param_adjustments::debug () } /* Register that REPLACEMENT should replace parameter described in APM and - optionally as DUMMY to mark transitive splits accross calls. */ + optionally as DUMMY to mark transitive splits across calls. */ void ipa_param_body_adjustments::register_replacement (ipa_adjusted_param *apm, diff --git a/gcc/ipa-sra.c b/gcc/ipa-sra.c index c6ed0f44b87..421c0899e11 100644 --- a/gcc/ipa-sra.c +++ b/gcc/ipa-sra.c @@ -3167,7 +3167,7 @@ isra_mark_caller_param_used (isra_func_summary *from_ifs, int input_idx, /* Propagate information that any parameter is not used only locally within a - SCC accross CS to the caller, which must be in the same SCC as the + SCC across CS to the caller, which must be in the same SCC as the callee. Push any callers that need to be re-processed to STACK. */ static void @@ -3397,7 +3397,7 @@ param_splitting_across_edge (cgraph_edge *cs) : 0); if (dump_file && (dump_flags & TDF_DETAILS)) - fprintf (dump_file, "Splitting accross %s->%s:\n", + fprintf (dump_file, "Splitting across %s->%s:\n", cs->caller->dump_name (), callee->dump_name ()); unsigned i; @@ -3876,9 +3876,9 @@ ipa_sra_analysis (void) param_removal_cross_scc_edge (cs); } - /* Look at edges within the current SCC and propagate used-ness accross - them, pushing onto the stack all notes which might need to be - revisited. */ + /* Look at edges within the current SCC and propagate used-ness across + them, pushing onto the stack all notes which might need to be + revisited. */ FOR_EACH_VEC_ELT (cycle_nodes, j, v) v->call_for_symbol_thunks_and_aliases (propagate_used_to_scc_callers, &stack, true); -- 2.30.2