OSDN Git Service

gcc/
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 25 Mar 2004 17:04:45 +0000 (17:04 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 25 Mar 2004 17:04:45 +0000 (17:04 +0000)
* cfgrtl.c, dbxout.c, tree.def, config/darwin.h,
config/arm/arm.c, objc/objc-act.c: Fix comment typos.
* doc/invoke.texi: Fix a typo.

cp/
* cxx-pretty-print.c: Fix comment typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79956 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/cfgrtl.c
gcc/config/arm/arm.c
gcc/config/darwin.h
gcc/cp/ChangeLog
gcc/cp/cxx-pretty-print.c
gcc/dbxout.c
gcc/doc/invoke.texi
gcc/objc/objc-act.c
gcc/tree.def

index e63bbff..f3be4d5 100644 (file)
@@ -1,5 +1,11 @@
 2004-03-25  Kazu Hirata  <kazu@cs.umass.edu>
 
+       * cfgrtl.c, dbxout.c, tree.def, config/darwin.h,
+       config/arm/arm.c, objc/objc-act.c: Fix comment typos.
+       * doc/invoke.texi: Fix a typo.
+
+2004-03-25  Kazu Hirata  <kazu@cs.umass.edu>
+
        PR optimization/9707.
        * stmt.c (emit_case_nodes): Emit equality comparisons instead
        of recursing if both children are single-valued cases with no
index 20de625..c292c7a 100644 (file)
@@ -2105,7 +2105,7 @@ rtl_verify_flow_info (void)
              break;
 
            case CODE_LABEL:
-             /* An addr_vec is placed outside any block block.  */
+             /* An addr_vec is placed outside any basic block.  */
              if (NEXT_INSN (x)
                  && GET_CODE (NEXT_INSN (x)) == JUMP_INSN
                  && (GET_CODE (PATTERN (NEXT_INSN (x))) == ADDR_DIFF_VEC
index 206647b..1c42ad0 100644 (file)
@@ -2288,7 +2288,7 @@ arm_function_arg (CUMULATIVE_ARGS *pcum, enum machine_mode mode,
     /* Compute operand 2 of the call insn.  */
     return GEN_INT (pcum->call_cookie);
 
-  /* Only allow splitting an arg between regs and memory if all preceeding
+  /* Only allow splitting an arg between regs and memory if all preceding
      args were allocated to regs.  For args passed by reference we only count
      the reference pointer.  */
   if (pcum->can_split)
@@ -9909,8 +9909,8 @@ arm_get_frame_offsets (void)
   if (reload_completed)
     return offsets;
 
-  /* Initialy this is the size of the local variables.  It will translated
-     into an offset once we have determined the size of preceeding data.  */
+  /* Initially this is the size of the local variables.  It will translated
+     into an offset once we have determined the size of preceding data.  */
   frame_size = ROUND_UP_WORD (get_frame_size ());
 
   leaf = leaf_function_p ();
@@ -10013,7 +10013,7 @@ arm_get_frame_offsets (void)
 }
 
 
-/* Calculate the realative offsets for the different stack pointers.  Positive
+/* Calculate the relative offsets for the different stack pointers.  Positive
    offsets are in the direction of stack growth.  */
 
 unsigned int
index 8a659d9..2e7ee24 100644 (file)
@@ -341,7 +341,7 @@ do { text_section ();                                                       \
 #undef USE_COMMON_FOR_ONE_ONLY
 #define USE_COMMON_FOR_ONE_ONLY 0
 
-/* The Darwin linker doesn't like explicit template instantions to be
+/* The Darwin linker doesn't like explicit template instantiations to be
    coalesced, because it doesn't want coalesced symbols to appear in
    a static archive's table of contents. */
 #undef TARGET_EXPLICIT_INSTANTIATIONS_ONE_ONLY
index 7c5c6f7..e59e9c1 100644 (file)
@@ -1,3 +1,7 @@
+2004-03-25  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * cxx-pretty-print.c: Fix comment typos.
+
 2004-03-24  Kazu Hirata  <kazu@cs.umass.edu>
 
        * cxx-pretty-print.c, cxx-pretty-print.h, decl.h, friend.c:
index 88a800d..a07f009 100644 (file)
@@ -198,7 +198,7 @@ pp_cxx_unqualified_id (cxx_pretty_printer *pp, tree t)
 
 /* Pretty-print out the token sequence ":: template" in template codes
    where it is needed to "inline declare" the (following) member as
-   a template.  This situtation arises when SCOPE of T is dependent
+   a template.  This situation arises when SCOPE of T is dependent
    on template parameters.  */
 
 static inline void
@@ -242,7 +242,7 @@ pp_cxx_qualified_id (cxx_pretty_printer *pp, tree t)
 
       /* In Standard C++, functions cannot possibly be used as
          nested-name-specifiers.  However, there are situations where
-         is "makes sense" to output the surrouding function name for the
+         is "makes sense" to output the surrounding function name for the
          purpose of emphasizing on the scope kind.  Just printing the
          function name might not be sufficient as it may be overloaded; so,
          we decorate the function with its signature too.
index 89ba1cf..99d2767 100644 (file)
@@ -884,8 +884,8 @@ dbxout_type_fields (tree type)
      field that we can support.  */
   for (tem = TYPE_FIELDS (type); tem; tem = TREE_CHAIN (tem))
     {
-
-      /* If on of the nodes is an error_mark or its type is then return early.  */
+      /* If one of the nodes is an error_mark or its type is then
+        return early.  */
       if (tem == error_mark_node || TREE_TYPE (tem) == error_mark_node)
        return;
 
index dcd72eb..d9ef797 100644 (file)
@@ -6653,7 +6653,7 @@ if the underlying ABI supports it.
 Specifying the larger number can produce faster, more efficient code, but
 can also increase the size of the program.  Different values are potentially
 incompatible.  Code compiled with one value cannot necessarily expect to
-work with code or libraries compiled with annother value, if they exchange
+work with code or libraries compiled with another value, if they exchange
 information using structures or unions.
 
 @item -mabort-on-noreturn
index 22696cb..ae0a98e 100644 (file)
@@ -3304,7 +3304,7 @@ build_objc_exception_stuff (void)
   finish_struct (objc_exception_data_template, field_decl_chain, NULL_TREE);
 
   /* int _setjmp(...); */
-  /* If the user includes <setjmp.h>, this shall be superceded by
+  /* If the user includes <setjmp.h>, this shall be superseded by
      'int _setjmp(jmp_buf);' */
   temp_type = build_function_type (integer_type_node, NULL_TREE);
   objc_setjmp_decl
@@ -5536,7 +5536,7 @@ receiver_is_class_object (tree receiver, int self, int super)
       && (exp = TREE_OPERAND (exp, 0))
       && TREE_CODE (exp) == FUNCTION_DECL
       /* For some reason, we sometimes wind up with multiple FUNCTION_DECL
-        prototypes for objc_get_class().  Thankfuly, they seem to share the
+        prototypes for objc_get_class().  Thankfully, they seem to share the
         same function type.  */
       && TREE_TYPE (exp) == TREE_TYPE (objc_get_class_decl)
       && !strcmp (IDENTIFIER_POINTER (DECL_NAME (exp)), TAG_GETCLASS)
@@ -9015,7 +9015,7 @@ handle_impent (struct imp_entry *impent)
     }
 }
 \f
-/* The Fix-and-Countinue functionality available in Mac OS X 10.3 and
+/* The Fix-and-Continue functionality available in Mac OS X 10.3 and
    later requires that ObjC translation units participating in F&C be
    specially marked.  The following routine accomplishes this.  */
 
index d56142f..afdeadc 100644 (file)
@@ -553,7 +553,7 @@ DEFTREECODE (CLEANUP_POINT_EXPR, "cleanup_point_expr", 'e', 1)
    fact that the expression for the array contains the dereference of
    the fat pointer that obtained the array pointer.  */
 
-/* Denotes a record to later be substitued before evaluating this expression.
+/* Denotes a record to later be substituted before evaluating this expression.
    The type of this expression is used to find the record to replace it.  */
 DEFTREECODE (PLACEHOLDER_EXPR, "placeholder_expr", 'x', 0)