]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
builtins.c: Fix comment typos.
authorKazu Hirata <kazu@cs.umass.edu>
Tue, 19 Aug 2003 23:22:00 +0000 (23:22 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Tue, 19 Aug 2003 23:22:00 +0000 (23:22 +0000)
* builtins.c: Fix comment typos.
* c-common.c: Likewise.
* c-decl.c: Likewise.
* c-pretty-print.c: Likewise.
* cfgbuild.c: Likewise.
* cfglayout.c: Likewise.
* cfgloopanal.c: Likewise.
* cgraphunit.c: Likewise.
* cppfiles.c: Likewise.
* dwarfout.c: Likewise.
* expr.c: Likewise.
* fold-const.c: Likewise.
* gcse.c: Likewise.
* ggc-page.c: Likewise.
* haifa-sched.c: Likewise.
* pretty-print.c: Likewise.
* tree.c: Likewise.
* tree.h: Likewise.
* value-prof.c: Likewise.

From-SVN: r70583

20 files changed:
gcc/ChangeLog
gcc/builtins.c
gcc/c-common.c
gcc/c-decl.c
gcc/c-pretty-print.c
gcc/cfgbuild.c
gcc/cfglayout.c
gcc/cfgloopanal.c
gcc/cgraphunit.c
gcc/cppfiles.c
gcc/dwarfout.c
gcc/expr.c
gcc/fold-const.c
gcc/gcse.c
gcc/ggc-page.c
gcc/haifa-sched.c
gcc/pretty-print.c
gcc/tree.c
gcc/tree.h
gcc/value-prof.c

index 7cd5b0a344f32a8dc8b22f80717bb5ae66b864b3..95b7f54e3ff75a426710694f3ae1cd3184d1e989 100644 (file)
@@ -1,3 +1,25 @@
+2003-08-19  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * builtins.c: Fix comment typos.
+       * c-common.c: Likewise.
+       * c-decl.c: Likewise.
+       * c-pretty-print.c: Likewise.
+       * cfgbuild.c: Likewise.
+       * cfglayout.c: Likewise.
+       * cfgloopanal.c: Likewise.
+       * cgraphunit.c: Likewise.
+       * cppfiles.c: Likewise.
+       * dwarfout.c: Likewise.
+       * expr.c: Likewise.
+       * fold-const.c: Likewise.
+       * gcse.c: Likewise.
+       * ggc-page.c: Likewise.
+       * haifa-sched.c: Likewise.
+       * pretty-print.c: Likewise.
+       * tree.c: Likewise.
+       * tree.h: Likewise.
+       * value-prof.c: Likewise.
+
 2003-08-19  Kazu Hirata  <kazu@cs.umass.edu>
 
        * c-decl.c: Follow spelling conventions.
index 5b975f0f2568bac12801b3d0f493344a5d284ef5..934e6fa923da348442418765de568c54a844ffbd 100644 (file)
@@ -4544,7 +4544,7 @@ expand_builtin_printf (tree arglist, rtx target, enum machine_mode mode,
          size_t len = strlen (fmt_str);
          if (fmt_str[len - 1] == '\n')
            {
-             /* Create a NUL-terminalted string that's one char shorter
+             /* Create a NUL-terminated string that's one char shorter
                 than the original, stripping off the trailing '\n'.  */
              char *newstr = (char *) alloca (len);
              memcpy (newstr, fmt_str, len - 1);
index cc9caf7061d52d64310e51787b0317dbe9781a7d..3089e5dbed8ab40b0bc393e558771111f172d20e 100644 (file)
@@ -5639,7 +5639,7 @@ c_estimate_num_insns_1 (tree *tp, int *walk_subtrees, void *data)
       return NULL;
     }
   /* Assume that constants and references counts nothing.  These should
-     be majorized by amount of operations amoung them we count later
+     be majorized by amount of operations among them we count later
      and are common target of CSE and similar optimizations.  */
   if (TREE_CODE_CLASS (TREE_CODE (x)) == 'c'
       || TREE_CODE_CLASS (TREE_CODE (x)) == 'r')
index 33df3524fdec2ea66ce5a84de8ff424c601f8124..d7b077631c70b87b00ebbd35bd122d823d19e140 100644 (file)
@@ -6690,7 +6690,7 @@ make_pointer_declarator (tree type_quals_attrs, tree target)
 /* A wrapper around lhd_set_decl_assembler_name that gives static
    variables their C names if they are at file scope and only one
    translation unit is being compiled, for backwards compatibility
-   with certain bizzare assembler hacks (like crtstuff.c).  */
+   with certain bizarre assembler hacks (like crtstuff.c).  */
 
 void
 c_static_assembler_name (tree decl)
index ee4d2a419e769a5cea91f53f89f82f0d6dc61e3c..455137e6a58f432f36b97e51bd92a5454822eab3 100644 (file)
@@ -30,9 +30,9 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 /* The pretty-printer code is primarily designed to closely follow
    (GNU) C and C++ grammars.  That is to be contrasted with spaghetti
    codes we used to have in the past.  Following a structured
-   approach (preferaably the official grammars) is believed to make it
-   much easier o add extensions and nifty pretty-printing effects that
-   takes expresssion or declaration contexts into account.  */
+   approach (preferably the official grammars) is believed to make it
+   much easier to add extensions and nifty pretty-printing effects that
+   takes expression or declaration contexts into account.  */
 
 
 #define pp_c_whitespace(PP)           \
@@ -299,7 +299,7 @@ pp_c_simple_type_specifier (c_pretty_printer ppi, tree t)
 
 
   Implementation note:  Because of the non-linearities in array or
-  function declarations, this routinie prints not just the
+  function declarations, this routine prints not just the
   specifier-qualifier-list of such entities or types of such entities,
   but also the 'pointer' production part of their declarators.  The
   remaining part is done by pp_declarator or pp_c_abstract_declarator.  */
index eb7fd22e3317e8118472d99f3b72c67cee52d498..cd662da4a6d007cabd97f471eb9137195101c9fa 100644 (file)
@@ -121,7 +121,7 @@ control_flow_insn_p (rtx insn)
       return (flag_non_call_exceptions && can_throw_internal (insn));
 
     case BARRIER:
-      /* It is nonsence to reach barrier when looking for the
+      /* It is nonsense to reach barrier when looking for the
          end of basic block, but before dead code is eliminated
          this may happen.  */
       return false;
index 38390894ac8ec0c18c94fd97c757f596bcb50c53..7121a3e5db4b986a451f22a280c72cd7ab293672 100644 (file)
@@ -795,7 +795,7 @@ fixup_reorder_chain (void)
   prev_bb->next_bb = EXIT_BLOCK_PTR;
   EXIT_BLOCK_PTR->prev_bb = prev_bb;
 
-  /* Anoying special case - jump around dead jumptables left in the code.  */
+  /* Annoying special case - jump around dead jumptables left in the code.  */
   FOR_EACH_BB (bb)
     {
       edge e;
index 5502844ce4ff688bd8077f12f8e98be5e8dd4086..da3602ebf019b9ef8a55f2b7cccf02717dbddbb1 100644 (file)
@@ -557,7 +557,7 @@ count_strange_loop_iterations (rtx init, rtx lim, enum rtx_code cond,
       abort ();
     }
 
-  /* If this is const_true_rtx and we did not take a conservative aproximation
+  /* If this is const_true_rtx and we did not take a conservative approximation
      of after_wrap above, we might iterate the calculation (but of course we
      would have to take care about infinite cases).  Ignore this for now.  */
   rqmt = simplify_gen_relational (cond, SImode, mode, after_wrap, lim);
index faf6850910018376d52992b3582c9d0556020ef6..02a569f816a6beac3975c0e4f5b625258b652ff7 100644 (file)
@@ -781,7 +781,7 @@ cgraph_decide_inlining_of_small_functions (struct cgraph_node **inlined,
          || !cgraph_default_inline_p (node))
        continue;
 
-      /* Rule out always_inline functions we dealt with earler.  */
+      /* Rule out always_inline functions we dealt with earlier.  */
       for (e = node->callers; e; e = e->next_caller)
        if (e->inline_call)
          break;
@@ -1015,7 +1015,7 @@ cgraph_inline_p (tree caller_decl, tree callee_decl)
     if (e->callee == callee)
       return e->inline_call;
   /* We do not record builtins in the callgraph.  Perhaps it would make more
-     sense to do so and then prune out those not overwriten by explicit
+     sense to do so and then prune out those not overwritten by explicit
      function body.  */
   return false;
 }
@@ -1023,7 +1023,7 @@ cgraph_inline_p (tree caller_decl, tree callee_decl)
 
    Attempt to topologically sort the nodes so function is output when
    all called functions are already assembled to allow data to be
-   propagated accross the callgraph.  Use a stack to get smaller distance
+   propagated across the callgraph.  Use a stack to get smaller distance
    between a function and it's callees (later we may choose to use a more
    sophisticated algorithm for function reordering; we will likely want
    to use subsections to make the output functions appear in top-down
@@ -1058,8 +1058,8 @@ cgraph_expand_functions (void)
 
 /* Mark all local functions.
 
-   Local function is function whose calls can occur only in the
-   current compilation unit so we change it's calling convetion.
+   A local function is one whose calls can occur only in the
+   current compilation unit, so we change its calling convention.
    We simply mark all static functions whose address is not taken
    as local.  */
 
index c0aaa5cf0abaaf56b75649db9570ec6bf4882ca9..04f067da9d1aa371b556f27934551cba0edafea1 100644 (file)
@@ -119,7 +119,7 @@ struct _cpp_file
 /* A singly-linked list for all searches for a given file name, with
    its head pointed to by a slot in FILE_HASH.  The file name is what
    appeared between the quotes in a #include directive; it can be
-   determined implicity from the hash table location or explicitly
+   determined implicitly from the hash table location or explicitly
    from FILE->name.
 
    FILE is a structure containing details about the file that was
@@ -494,7 +494,7 @@ read_file_guts (cpp_reader *pfile, _cpp_file *file)
 }
 
 /* Convenience wrapper around read_file_guts that opens the file if
-   necessary and closes the file desciptor after reading.  FILE must
+   necessary and closes the file descriptor after reading.  FILE must
    have been passed through find_file() at some stage.  */
 static bool
 read_file (cpp_reader *pfile, _cpp_file *file)
index cd4dc050661c425a3983348c1f69d2fe77c90261..43ab37b971fa5e275aa2cc0d90d99ecb706c4d95 100644 (file)
@@ -942,7 +942,7 @@ static void retry_incomplete_types (void);
 #endif
 
 /* Pseudo-ops for pushing the current section onto the section stack (and
-   simultaneously changing to a new section) and for poping back to the
+   simultaneously changing to a new section) and for popping back to the
    section we were in immediately before this one.  Note that most svr4
    assemblers only maintain a one level stack... you can push all the
    sections you want, but you can only pop out one level.  (The sparc
index f2c21c4d82d390a1e5df93427638e7a6ffffb5c0..0dd49400ec1a5564dba87e4a6071d04f3203ba66 100644 (file)
@@ -6393,7 +6393,7 @@ highest_pow2_factor (tree exp)
       /* We can find the lowest bit that's a one.  If the low
         HOST_BITS_PER_WIDE_INT bits are zero, return BIGGEST_ALIGNMENT.
         We need to handle this case since we can find it in a COND_EXPR,
-        a MIN_EXPR, or a MAX_EXPR.  If the constant overlows, we have an
+        a MIN_EXPR, or a MAX_EXPR.  If the constant overflows, we have an
         erroneous program, so return BIGGEST_ALIGNMENT to avoid any
         later ICE.  */
       if (TREE_CONSTANT_OVERFLOW (exp))
index 11d0f9d0f74a7b0abf458309ac15348af8239da5..18fd4e7fa2aa1b934435f02ad279c3d7d2740bcd 100644 (file)
@@ -8364,7 +8364,7 @@ fold_checksum_tree (tree expr, struct md5_ctx *ctx, htab_t ht)
 
 #endif
 
-/* Perform constant folding and related simplification of intializer
+/* Perform constant folding and related simplification of initializer
    expression EXPR.  This behaves identically to "fold" but ignores
    potential run-time traps and exceptions that fold must preserve.  */
 
index a09b7fdc34c6ae8d025f3262c529918f164fa6bf..3233d8494e255abcf70b65f35a9ffea3b75fb7d3 100644 (file)
@@ -4530,7 +4530,7 @@ find_implicit_sets (void)
 
   count = 0;
   FOR_EACH_BB (bb)
-    /* Check for more than one sucessor.  */
+    /* Check for more than one successor.  */
     if (bb->succ && bb->succ->succ_next)
       {
        cond = fis_get_condition (bb->end);
@@ -6756,7 +6756,7 @@ trim_ld_motion_mems (void)
 /* This routine will take an expression which we are replacing with
    a reaching register, and update any stores that are needed if
    that expression is in the ld_motion list.  Stores are updated by
-   copying their SRC to the reaching register, and then storeing
+   copying their SRC to the reaching register, and then storing
    the reaching register into the store location. These keeps the
    correct value in the reaching register for the loads.  */
 
index 62964d61182f9e9d76d807152878abc166d97bb2..e8b3ddb85585b554f279420c352ceecb696e4ed1 100644 (file)
@@ -1452,7 +1452,7 @@ ggc_pop_context (void)
   G.context_depth_allocations &= omask - 1;
   G.context_depth_collections &= omask - 1;
 
-  /* The G.depth array is shortend so that the last index is the
+  /* The G.depth array is shortened so that the last index is the
      context_depth of the top element of by_depth.  */
   if (depth+1 < G.depth_in_use)
     e = G.depth[depth+1];
index c75f5ba3590c0cbb2562da059d109141bc16d163..b0c824c984b7ea5a2ed8ccd66bbef03779331c54 100644 (file)
@@ -385,7 +385,7 @@ may_trap_exp (rtx x, int is_store)
    moved speculatively, by examining it's patterns, returning:
    TRAP_RISKY: store, or risky non-load insn (e.g. division by variable).
    TRAP_FREE: non-load insn.
-   IFREE: load from a globaly safe location.
+   IFREE: load from a globally safe location.
    IRISKY: volatile load.
    PFREE_CANDIDATE, PRISKY_CANDIDATE: load that need to be checked for
    being either PFREE or PRISKY.  */
index d865107d81fa364d94b1a7cbfb07264b20c79f3d..421302ec72234845730cff499c5649c0a743290c 100644 (file)
@@ -217,7 +217,7 @@ pp_base_format_text (pretty_printer *pp, text_info *text)
         default:
           break;
         }
-      /* We don't support precision behond that of "long long".  */
+      /* We don't support precision beyond that of "long long".  */
       if (precision > 2)
         abort();
 
index 4bbb9079376ab9120180544f9a159b0acfafe2ff..841876712d2b0bd43c70bc8911367d563bd79277 100644 (file)
@@ -3823,7 +3823,7 @@ build_function_type (tree value_type, tree arg_types)
   return t;
 }
 
-/* Build a function type.  The RETURN_TYPE is the type retured by the
+/* Build a function type.  The RETURN_TYPE is the type returned by the
    function.  If additional arguments are provided, they are
    additional argument types.  The list of argument types must always
    be terminated by NULL_TREE.  */
index dbf8c8f86f29fb2ef6afe192017ddffc0ff070b9..6826109faaef5c0a9443df0f992f314bde01cd23 100644 (file)
@@ -2387,7 +2387,7 @@ enum size_type_kind
   USIZETYPE,           /* Unsigned representation of sizes in bytes.  */
   BITSIZETYPE,         /* Normal representation of sizes in bits.  */
   SBITSIZETYPE,                /* Signed representation of sizes in bits.  */
-  UBITSIZETYPE,                /* Unsifgned representation of sizes in bits.  */
+  UBITSIZETYPE,                /* Unsigned representation of sizes in bits.  */
   TYPE_KIND_LAST};
 
 extern GTY(()) tree sizetype_tab[(int) TYPE_KIND_LAST];
index 171b30481e42f82230bcabdcc031335b805cd570..5dca281b1df8632f1aaedabd7ede2dc0f19ea038 100644 (file)
@@ -40,7 +40,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
    insn_values_to_profile function.  This function is called from branch_prob
    in profile.c and the requested values are instrumented by it in the first
    compilation with -fprofile-arcs.  The optimization may then read the
-   gathered data in the second compilation with -fbranch-probablities.
+   gathered data in the second compilation with -fbranch-probabilities.
    The measured data is appended as REG_VALUE_PROFILE note to the instrumented
    insn.  The argument to the note consists of an EXPR_LIST where its
    members have the following meaning (from the first to the last):