This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: comment fixes (obvious)


Committed as obvious.

Cheers, Ben


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.

Index: rtlanal.c
===================================================================
--- rtlanal.c	(revision 139589)
+++ rtlanal.c	(working copy)
@@ -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))
Index: cp/typeck.c
===================================================================
--- cp/typeck.c	(revision 139589)
+++ cp/typeck.c	(working copy)
@@ -7103,7 +7103,7 @@ comp_ptr_ttypes_const (tree to, tree fro
 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));
 
Index: cp/tree.c
===================================================================
--- cp/tree.c	(revision 139589)
+++ cp/tree.c	(working copy)
@@ -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));
 
Index: gimple-low.c
===================================================================
--- gimple-low.c	(revision 139589)
+++ gimple-low.c	(working copy)
@@ -496,7 +496,7 @@ gimple_try_catch_may_fallthru (gimple st
 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));
 
Index: jump.c
===================================================================
--- jump.c	(revision 139589)
+++ jump.c	(working copy)
@@ -351,7 +351,7 @@ reversed_comparison_code_parts (enum rtx
 	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);



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]