aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraphclones.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2019-11-09 00:56:37 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2019-11-09 00:56:37 +0100
commitdfea3d6fde2b62e76d06c5ab78db7931b5f4ba13 (patch)
treeeb9d1a51051c51c7112160cd56f63b6a1956fe03 /gcc/cgraphclones.c
parenta63d6356bebcf96c8931cad1dae50ce553db0df3 (diff)
downloadgcc-dfea3d6fde2b62e76d06c5ab78db7931b5f4ba13.zip
gcc-dfea3d6fde2b62e76d06c5ab78db7931b5f4ba13.tar.gz
gcc-dfea3d6fde2b62e76d06c5ab78db7931b5f4ba13.tar.bz2
symtab.c: Fix comment typos.
* symtab.c: Fix comment typos. * cgraphunit.c: Likewise. * cgraph.h: Likewise. * cgraphclones.c: Likewise. * cgraph.c: Likewise. * varpool.c: Likewise. * tree-ssa-strlen.c: Likewise. * ipa-sra.c: Likewise. (scan_expr_access, check_all_callers_for_issues): Fix typo in a dump message. From-SVN: r277995
Diffstat (limited to 'gcc/cgraphclones.c')
-rw-r--r--gcc/cgraphclones.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cgraphclones.c b/gcc/cgraphclones.c
index b0dc372..41a600e 100644
--- a/gcc/cgraphclones.c
+++ b/gcc/cgraphclones.c
@@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
-/* This module provide facilities for clonning functions. I.e. creating
+/* This module provide facilities for cloning functions. I.e. creating
new functions based on existing functions with simple modifications,
such as replacement of parameters.
@@ -304,7 +304,7 @@ dump_callgraph_transformation (const cgraph_node *original,
When UPDATE_ORIGINAL is true, the counts are subtracted from the original
function's profile to reflect the fact that part of execution is handled
by node.
- When CALL_DUPLICATOIN_HOOK is true, the ipa passes are acknowledged about
+ When CALL_DUPLICATION_HOOK is true, the ipa passes are acknowledged about
the new clone. Otherwise the caller is responsible for doing so later.
If the new node is being inlined into another one, NEW_INLINED_TO should be
@@ -381,7 +381,7 @@ cgraph_node::create_clone (tree new_decl, profile_count prof_count,
{
/* Redirect calls to the old version node to point to its new
version. The only exception is when the edge was proved to
- be unreachable during the clonning procedure. */
+ be unreachable during the cloning procedure. */
if (!e->callee
|| !fndecl_built_in_p (e->callee->decl, BUILT_IN_UNREACHABLE))
e->redirect_callee_duplicating_thunks (new_node);