From 4e9b57fad9889f89c76e0cba1b47d7387a42ea49 Mon Sep 17 00:00:00 2001 From: Ben Elliston <bje@au.ibm.com> Date: Tue, 26 Aug 2008 13:27:31 +0000 Subject: [PATCH] rtlanal.c: Fix uses of "it's" with "its" where appropriate. * rtlanal.c: Fix uses of "it's" with "its" where appropriate. * cp/typeck.c: Likewise. * cp/tree.c: Likewise. * gimple-low.c: Likewise. * jump.c: Likewise. From-SVN: r139591 --- gcc/ChangeLog | 8 ++++++++ gcc/cp/tree.c | 4 ++-- gcc/cp/typeck.c | 6 +++--- gcc/gimple-low.c | 2 +- gcc/jump.c | 2 +- gcc/rtlanal.c | 2 +- 6 files changed, 16 insertions(+), 8 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2c24ea10052e..68763ec9c3a7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2008-08-26 Ben Elliston <bje@au.ibm.com> + + * rtlanal.c: Fix uses of "it's" with "its" where appropriate. + * cp/typeck.c: Likewise. + * cp/tree.c: Likewise. + * gimple-low.c: Likewise. + * jump.c: Likewise. + 2008-08-26 Vladimir Makarov <vmakarov@redhat.com> * ira-build.c, ira-color.c, ira-costs.c, ira.h, ira-lives.c, diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c index 81682974da01..f9df932221ff 100644 --- a/gcc/cp/tree.c +++ b/gcc/cp/tree.c @@ -2088,7 +2088,7 @@ is_dummy_object (const_tree ob) int pod_type_p (const_tree t) { - /* This CONST_CAST is okay because strip_array_types returns it's + /* This CONST_CAST is okay because strip_array_types returns its argument unmodified and we assign it to a const_tree. */ t = strip_array_types (CONST_CAST_TREE(t)); @@ -2127,7 +2127,7 @@ class_tmpl_impl_spec_p (const_tree t) int zero_init_p (const_tree t) { - /* This CONST_CAST is okay because strip_array_types returns it's + /* This CONST_CAST is okay because strip_array_types returns its argument unmodified and we assign it to a const_tree. */ t = strip_array_types (CONST_CAST_TREE(t)); diff --git a/gcc/cp/typeck.c b/gcc/cp/typeck.c index df126e833594..410174ceb1e0 100644 --- a/gcc/cp/typeck.c +++ b/gcc/cp/typeck.c @@ -7103,7 +7103,7 @@ comp_ptr_ttypes_const (tree to, tree from) int cp_type_quals (const_tree type) { - /* This CONST_CAST is okay because strip_array_types returns it's + /* This CONST_CAST is okay because strip_array_types returns its argument unmodified and we assign it to a const_tree. */ type = strip_array_types (CONST_CAST_TREE(type)); if (type == error_mark_node) @@ -7117,7 +7117,7 @@ cp_type_quals (const_tree type) bool cp_type_readonly (const_tree type) { - /* This CONST_CAST is okay because strip_array_types returns it's + /* This CONST_CAST is okay because strip_array_types returns its argument unmodified and we assign it to a const_tree. */ type = strip_array_types (CONST_CAST_TREE(type)); return TYPE_READONLY (type); @@ -7128,7 +7128,7 @@ cp_type_readonly (const_tree type) bool cp_has_mutable_p (const_tree type) { - /* This CONST_CAST is okay because strip_array_types returns it's + /* This CONST_CAST is okay because strip_array_types returns its argument unmodified and we assign it to a const_tree. */ type = strip_array_types (CONST_CAST_TREE(type)); diff --git a/gcc/gimple-low.c b/gcc/gimple-low.c index cc77874b8497..99f8754473b1 100644 --- a/gcc/gimple-low.c +++ b/gcc/gimple-low.c @@ -496,7 +496,7 @@ gimple_try_catch_may_fallthru (gimple stmt) bool block_may_fallthru (const_tree block) { - /* This CONST_CAST is okay because expr_last returns it's argument + /* This CONST_CAST is okay because expr_last returns its argument unmodified and we assign it to a const_tree. */ const_tree stmt = expr_last (CONST_CAST_TREE(block)); diff --git a/gcc/jump.c b/gcc/jump.c index c0ab6909a2a7..bacb7f4e1ba2 100644 --- a/gcc/jump.c +++ b/gcc/jump.c @@ -351,7 +351,7 @@ reversed_comparison_code_parts (enum rtx_code code, const_rtx arg0, return UNKNOWN; /* These CONST_CAST's are okay because prev_nonnote_insn just - returns it's argument and we assign it to a const_rtx + returns its argument and we assign it to a const_rtx variable. */ for (prev = prev_nonnote_insn (CONST_CAST_RTX(insn)); prev != 0 && !LABEL_P (prev); diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index fb4a5df7dc85..00a63cd9b960 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -3399,7 +3399,7 @@ keep_with_call_p (const_rtx insn) if (SET_DEST (set) == stack_pointer_rtx) { /* This CONST_CAST is okay because next_nonnote_insn just - returns it's argument and we assign it to a const_rtx + returns its argument and we assign it to a const_rtx variable. */ const_rtx i2 = next_nonnote_insn (CONST_CAST_RTX(insn)); if (i2 && keep_with_call_p (i2)) -- GitLab