]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* c-common.c, cfgcleanup.c, cgraphunit.c, c-pretty-print.c,
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 20 Mar 2004 05:21:41 +0000 (05:21 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 20 Mar 2004 05:21:41 +0000 (05:21 +0000)
expmed.c, ggc-common.c, jump.c, passes.c, recog.c, regmove.c,
reorg.c, tree.h: Fix comment typos.

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

13 files changed:
gcc/ChangeLog
gcc/c-common.c
gcc/c-pretty-print.c
gcc/cfgcleanup.c
gcc/cgraphunit.c
gcc/expmed.c
gcc/ggc-common.c
gcc/jump.c
gcc/passes.c
gcc/recog.c
gcc/regmove.c
gcc/reorg.c
gcc/tree.h

index 4be5285eed5edd2d996d06f6258d6894b668bb36..292b9561ef869d9d6a4a91823f1048b00ab1fceb 100644 (file)
@@ -1,3 +1,9 @@
+2004-03-20  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * c-common.c, cfgcleanup.c, cgraphunit.c, c-pretty-print.c,
+       expmed.c, ggc-common.c, jump.c, passes.c, recog.c, regmove.c,
+       reorg.c, tree.h: Fix comment typos.
+
 2004-03-19  Kazu Hirata  <kazu@cs.umass.edu>
 
        * alias.c, attribs.c, bt-load.c, builtins.c, c-common.c,
index e21d5bd3f596721b9b0a24521c3297196987f209..5f79d37f413712908014e4c6ae08e6de8029b436 100644 (file)
@@ -2229,7 +2229,7 @@ shorten_compare (tree *op0_ptr, tree *op1_ptr, tree *restype_ptr,
                                               TREE_TYPE (primop0));
 
       /* In C, if TYPE is an enumeration, then we need to get its
-        min/max values from it's underlying integral type, not the
+        min/max values from its underlying integral type, not the
         enumerated type itself.  In C++, TYPE_MAX_VALUE and
         TYPE_MIN_VALUE have already been set correctly on the
         enumeration type.  */
index 94869b4c77e0e347902adfdb5f19367f7e39d589..51e34e7720839a8bcff91a07915c5c6deeeba290 100644 (file)
@@ -932,7 +932,7 @@ pp_c_constant (c_pretty_printer *pp, tree e)
     }
 }
 
-/* Pretty-print an IDENTIFIER_NODE, precedeed by whitespace is necessary.  */
+/* Pretty-print an IDENTIFIER_NODE, preceded by whitespace is necessary.  */
 
 void
 pp_c_identifier (c_pretty_printer *pp, const char *id)
index 9029b5fb850be79a72d60bbad11217ddf0891a3f..3cde9b27ab8781bd5a720e064d73332073bbacff 100644 (file)
@@ -23,7 +23,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
    cleanup_cfg.  Following optimizations are performed:
 
    - Unreachable blocks removal
-   - Edge forwarding (edge to the forwarder block is forwarded to it's
+   - Edge forwarding (edge to the forwarder block is forwarded to its
      successor.  Simplification of the branch instruction is performed by
      underlying infrastructure so branch can be converted to simplejump or
      eliminated).
index 2ebc4d777836e410f5ecf86e536ac13af2b54800..f871ef4ed6ea60b9de0b6ad847a92dc09abb7403 100644 (file)
@@ -398,7 +398,7 @@ cgraph_finalize_compilation_unit (void)
       cgraph_nodes_queue = cgraph_nodes_queue->next_needed;
 
       /* ??? It is possible to create extern inline function and later using
-        weak alas attribute to kill it's body. See
+        weak alas attribute to kill its body. See
         gcc.c-torture/compile/20011119-1.c  */
       if (!DECL_SAVED_TREE (decl))
        continue;
@@ -1508,7 +1508,7 @@ cgraph_inline_p (tree caller_decl, tree callee_decl, const char **reason)
    Attempt to topologically sort the nodes so function is output when
    all called functions are already assembled to allow data to be
    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
+   between a function and its 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
    order).  */
@@ -1543,7 +1543,7 @@ cgraph_expand_all_functions (void)
 /* Mark all local functions.
 
    A local function is one whose calls can occur only in the
-   current compilation unit and all it's calls are explicit,
+   current compilation unit and all its calls are explicit,
    so we can change its calling convention.
    We simply mark all static functions whose address is not taken
    as local.  */
index da0a9fe7f0dffd96724c96a2f42f8d1316624991..bb42ce92919ad802017b7d12e853ea0e1b984f66 100644 (file)
@@ -2409,7 +2409,7 @@ synth_mult (struct algorithm *alg_out, unsigned HOST_WIDE_INT t,
          alg_out->ops * sizeof *alg_out->log);
 }
 \f
-/* Find the cheapeast way of multiplying a value of mode MODE by VAL.
+/* Find the cheapest way of multiplying a value of mode MODE by VAL.
    Try three variations:
 
        - a shift/add sequence based on VAL itself
index d8a803979c72ced7ca25e761d2d5825dc1949d76..4939cb6988886ed9ef870ada95a1305caad68e07 100644 (file)
@@ -615,7 +615,7 @@ default_gt_pch_use_address (void *base, size_t size, int fd ATTRIBUTE_UNUSED,
 #if HAVE_MMAP_FILE
 /* Default version of HOST_HOOKS_GT_PCH_GET_ADDRESS when mmap is present.
    We temporarily allocate SIZE bytes, and let the kernel place the data
-   whereever it will.  If it worked, that's our spot, if not we're likely
+   wherever it will.  If it worked, that's our spot, if not we're likely
    to be in trouble.  */
 
 void *
@@ -793,9 +793,10 @@ loc_descriptor (const char *name, int line, const char *function)
   return *slot;
 }
 
-/* Record ALLOCATED and OVERHEAD bytes to descritor NAME:LINE (FUNCTION).  */
-void ggc_record_overhead (size_t allocated, size_t overhead,
-                         const char *name, int line, const char *function)
+/* Record ALLOCATED and OVERHEAD bytes to descriptor NAME:LINE (FUNCTION).  */
+void
+ggc_record_overhead (size_t allocated, size_t overhead,
+                    const char *name, int line, const char *function)
 {
   struct loc_descriptor *loc = loc_descriptor (name, line, function);
 
index 5567bb7ea665dc0c3010885333acf359a2d38fb8..643a714c7ad0c312ee2673786fb8e424688b7fc0 100644 (file)
@@ -645,9 +645,9 @@ reversed_comparison_code_parts (enum rtx_code code, rtx arg0, rtx arg1, rtx insn
   if (mode == VOIDmode)
     mode = GET_MODE (arg1);
 
-  /* First see if machine description supply us way to reverse the comparison.
-     Give it priority over everything else to allow machine description to do
-     tricks.  */
+  /* First see if machine description supplies us way to reverse the
+     comparison.  Give it priority over everything else to allow
+     machine description to do tricks.  */
   if (GET_MODE_CLASS (mode) == MODE_CC
       && REVERSIBLE_CC_MODE (mode))
     {
index f70cb856a7ed4ccbfc90634580404795c863f3b9..5ee44d4a6545fbf723875df57e463e0e16e2b2a9 100644 (file)
@@ -1677,7 +1677,7 @@ rest_of_compilation (tree decl)
 
 #ifdef SETJMP_VIA_SAVE_AREA
   /* This must be performed before virtual register instantiation.
-     Please be aware the everything in the compiler that can look
+     Please be aware that everything in the compiler that can look
      at the RTL up to this point must understand that REG_SAVE_AREA
      is just like a use of the REG contained inside.  */
   if (current_function_calls_alloca)
index c3cf522d827ad656342d020b773c7e7cf4849ec8..6d6135a565806a291ce2ba5cf8db1ab943bf6eb4 100644 (file)
@@ -1591,7 +1591,7 @@ decode_asm_operands (rtx body, rtx *operands, rtx **operand_locs,
   return template;
 }
 
-/* Check if an asm_operand matches it's constraints.
+/* Check if an asm_operand matches its constraints.
    Return > 0 if ok, = 0 if bad, < 0 if inconclusive.  */
 
 int
index 671d9c824c06d5a481b17063eb2568f7789cf0b9..13a6d39bdea66a3db5b63503f5e5f48ea2345cf6 100644 (file)
@@ -291,7 +291,7 @@ mark_flags_life_zones (rtx flags)
 #endif
              PUT_MODE (insn, (live ? HImode : VOIDmode));
 
-             /* In either case, birth is denoted simply by it's presence
+             /* In either case, birth is denoted simply by its presence
                 as the destination of a set.  */
              flags_set_1_set = 0;
              note_stores (PATTERN (insn), flags_set_1, NULL);
index cab9d46ab75029465645c0d7a5be83f79d62b486..9a58d34b29f658071b729656968532e92e72a308 100644 (file)
@@ -3170,7 +3170,7 @@ relax_delay_slots (rtx first)
 
       /* See if we have a RETURN insn with a filled delay slot followed
         by a RETURN insn with an unfilled a delay slot.  If so, we can delete
-        the first RETURN (but not it's delay insn).  This gives the same
+        the first RETURN (but not its delay insn).  This gives the same
         effect in fewer instructions.
 
         Only do so if optimizing for size since this results in slower, but
index 7a961e50d796ec8a1115989ca9f700759dfdb62a..5e5a88e6d8fd56cbb6924f5fd5ab1c1a7a5a41f4 100644 (file)
@@ -1000,7 +1000,7 @@ struct tree_block GTY(())
 /* See tree.def for documentation of the use of these fields.
    Look at the documentation of the various ..._TYPE tree codes.
 
-   Note that the type.values, type.minval, and type.maxval fiels are
+   Note that the type.values, type.minval, and type.maxval fields are
    overloaded and used for different macros in different kinds of types.
    Each macro must check to ensure the tree node is of the proper kind of
    type.  Note also that some of the front-ends also overload these fields,