tree.h (assign_assembler_name_if_neeeded): Rename to ...
authorJakub Jelinek <jakub@redhat.com>
Mon, 23 Jan 2017 22:58:12 +0000 (23:58 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 23 Jan 2017 22:58:12 +0000 (23:58 +0100)
* 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

gcc/ChangeLog
gcc/cgraphunit.c
gcc/omp-expand.c
gcc/tree.c
gcc/tree.h

index 8df91c72f4d3c54b52864a6a75f0385a327362fe..a182e947a56fa4ce78f3738a04c3d7ef433ef281 100644 (file)
@@ -1,3 +1,14 @@
+2017-01-23  Jakub Jelinek  <jakub@redhat.com>
+
+       * 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  <rguenther@suse.de>
 
        PR tree-optimization/79088
index 81a3ae919985ae0f7d21e00b6dcba5aac04fe957..b277b967f3085bc9cd51e91902a4ff7203cf7e4a 100644 (file)
@@ -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
index d3891e3175e1554c11b9c0db2c29699c8e907dff..1de3cd41a649cf71b157995180a569910edbec2d 100644 (file)
@@ -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
index 14f045201728b150854633c82440f42a5983cafa..10b747e260734d819cab2770d1fe5529bbc364a8 100644 (file)
@@ -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)
index 28a50c39d54eaaab2525da057507cbe9e3f53bd0..6341446245d54f78431e69337fff5f5f060e808a 100644 (file)
@@ -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);