From: Jakub Jelinek Date: Mon, 23 Jan 2017 22:58:12 +0000 (+0100) Subject: tree.h (assign_assembler_name_if_neeeded): Rename to ... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9579db358323eb0d5aee691a16cd89cb9315a17e;p=gcc.git tree.h (assign_assembler_name_if_neeeded): Rename to ... * tree.h (assign_assembler_name_if_neeeded): Rename to ... (assign_assembler_name_if_needed): ... this. * tree.c (assign_assembler_name_if_neeeded): Rename to ... (assign_assembler_name_if_needed): ... this. (free_lang_data_in_cgraph): Adjust callers. * cgraphunit.c (cgraph_node::analyze): Likewise. * omp-expand.c (expand_omp_taskreg, expand_omp_target): Likewise. From-SVN: r244839 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8df91c72f4d..a182e947a56 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,14 @@ +2017-01-23 Jakub Jelinek + + * tree.h (assign_assembler_name_if_neeeded): Rename to ... + (assign_assembler_name_if_needed): ... this. + * tree.c (assign_assembler_name_if_neeeded): Rename to ... + (assign_assembler_name_if_needed): ... this. + (free_lang_data_in_cgraph): Adjust callers. + * cgraphunit.c (cgraph_node::analyze): Likewise. + * omp-expand.c (expand_omp_taskreg, expand_omp_target): + Likewise. + 2017-01-23 Richard Biener PR tree-optimization/79088 diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 81a3ae91998..b277b967f30 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -616,7 +616,7 @@ cgraph_node::analyze (void) { push_cfun (DECL_STRUCT_FUNCTION (decl)); - assign_assembler_name_if_neeeded (decl); + assign_assembler_name_if_needed (decl); /* Make sure to gimplify bodies only once. During analyzing a function we lower it, which will require gimplified nested diff --git a/gcc/omp-expand.c b/gcc/omp-expand.c index d3891e3175e..1de3cd41a64 100644 --- a/gcc/omp-expand.c +++ b/gcc/omp-expand.c @@ -1350,7 +1350,7 @@ expand_omp_taskreg (struct omp_region *region) fixed in a following pass. */ push_cfun (child_cfun); if (need_asm) - assign_assembler_name_if_neeeded (child_fn); + assign_assembler_name_if_needed (child_fn); if (optimize) optimize_omp_library_calls (entry_stmt); @@ -7061,7 +7061,7 @@ expand_omp_target (struct omp_region *region) fixed in a following pass. */ push_cfun (child_cfun); if (need_asm) - assign_assembler_name_if_neeeded (child_fn); + assign_assembler_name_if_needed (child_fn); cgraph_edge::rebuild_edges (); /* Some EH regions might become dead, see PR34608. If diff --git a/gcc/tree.c b/gcc/tree.c index 14f04520172..10b747e2607 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -5899,7 +5899,7 @@ find_decls_types_in_var (varpool_node *v, struct free_lang_data_d *fld) /* If T needs an assembler name, have one created for it. */ void -assign_assembler_name_if_neeeded (tree t) +assign_assembler_name_if_needed (tree t) { if (need_assembler_name_p (t)) { @@ -5966,7 +5966,7 @@ free_lang_data_in_cgraph (void) now because free_lang_data_in_decl will invalidate data needed for mangling. This breaks mangling on interdependent decls. */ FOR_EACH_VEC_ELT (fld.decls, i, t) - assign_assembler_name_if_neeeded (t); + assign_assembler_name_if_needed (t); /* Traverse every decl found freeing its language data. */ FOR_EACH_VEC_ELT (fld.decls, i, t) diff --git a/gcc/tree.h b/gcc/tree.h index 28a50c39d54..6341446245d 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -4706,7 +4706,7 @@ extern tree tree_strip_nop_conversions (tree); extern tree tree_strip_sign_nop_conversions (tree); extern const_tree strip_invariant_refs (const_tree); extern tree lhd_gcc_personality (void); -extern void assign_assembler_name_if_neeeded (tree); +extern void assign_assembler_name_if_needed (tree); extern void warn_deprecated_use (tree, tree); extern void cache_integer_cst (tree); extern const char *combined_fn_name (combined_fn);