Hi!

I've noticed a bunch of comment typos, fixed thusly, committed as obvious
after bootstrap/regtest on x86_64-linux and i686-linux.

2016-03-08  Jakub Jelinek  <ja...@redhat.com>

        * ipa-polymorphic-call.c (walk_ssa_copies): Fix spelling
        - becuase -> because.
        * ipa-reference.c (ignore_module_statics): Likewise.
        * cgraph.c (cgraph_node::get_body): Likewise.
        * ipa-inline.c (early_inliner): Likewise.
        * ipa-devirt.c (types_same_for_odr): Likewise.
        * tree-streamer-out.c (pack_ts_type_common_value_fields): Likewise.
        * config/i386/i386.h (ACCUMULATE_OUTGOING_ARGS): Likewise.
cp/
        * decl.c (duplicate_decls): Fix spelling - becuase -> because.
lto/
        * lto-symtab.h (lto_symtab_prevail_decl): Fix spelling
        - becuase -> because.

--- gcc/ipa-polymorphic-call.c.jj       2016-01-14 10:49:05.490172201 +0100
+++ gcc/ipa-polymorphic-call.c  2016-03-08 14:43:46.213418101 +0100
@@ -812,7 +812,7 @@ walk_ssa_copies (tree op, hash_set<tree>
           ptr = ptr.foo;
         This pattern is implicitly produced for casts to non-primary
         bases.  When doing context analysis, we do not really care
-        about the case pointer is NULL, becuase the call will be
+        about the case pointer is NULL, because the call will be
         undefined anyway.  */
       if (gimple_code (SSA_NAME_DEF_STMT (op)) == GIMPLE_PHI)
        {
--- gcc/ipa-reference.c.jj      2016-01-04 14:55:53.100469813 +0100
+++ gcc/ipa-reference.c 2016-03-08 14:43:50.715356221 +0100
@@ -104,7 +104,7 @@ static splay_tree reference_vars_to_cons
    static we are considering.  This is added to the local info when asm
    code is found that clobbers all memory.  */
 static bitmap all_module_statics;
-/* Set of all statics that should be ignored becuase they are touched by
+/* Set of all statics that should be ignored because they are touched by
    -fno-ipa-reference code.  */
 static bitmap ignore_module_statics;
 
--- gcc/config/i386/i386.h.jj   2016-03-08 09:01:50.870475507 +0100
+++ gcc/config/i386/i386.h      2016-03-08 14:44:05.113158321 +0100
@@ -1621,7 +1621,7 @@ enum reg_class
    function prologue should increase the stack frame size by this amount.  
 
    In 32bit mode enabling argument accumulation results in about 5% code size
-   growth becuase move instructions are less compact than push.  In 64bit
+   growth because move instructions are less compact than push.  In 64bit
    mode the difference is less drastic but visible.  
 
    FIXME: Unlike earlier implementations, the size of unwind info seems to
--- gcc/cp/decl.c.jj    2016-03-04 23:11:13.096811005 +0100
+++ gcc/cp/decl.c       2016-03-08 14:43:58.017255855 +0100
@@ -2646,7 +2646,7 @@ duplicate_decls (tree newdecl, tree oldd
 
      Before releasing the node, be sore to remove function from symbol
      table that might have been inserted there to record comdat group.
-     Be sure to however do not free DECL_STRUCT_FUNCTION becuase this
+     Be sure to however do not free DECL_STRUCT_FUNCTION because this
      structure is shared in between newdecl and oldecl.  */
   if (TREE_CODE (newdecl) == FUNCTION_DECL)
     DECL_STRUCT_FUNCTION (newdecl) = NULL;
--- gcc/cgraph.c.jj     2016-02-12 00:50:55.850885110 +0100
+++ gcc/cgraph.c        2016-03-08 14:43:34.382580717 +0100
@@ -3356,7 +3356,7 @@ cgraph_node::get_body (void)
   updated = get_untransformed_body ();
 
   /* Getting transformed body makes no sense for inline clones;
-     we should never use this on real clones becuase they are materialized
+     we should never use this on real clones because they are materialized
      early.
      TODO: Materializing clones here will likely lead to smaller LTRANS
      footprint. */
--- gcc/ipa-inline.c.jj 2016-02-22 15:18:35.547649249 +0100
+++ gcc/ipa-inline.c    2016-03-08 14:43:43.021461974 +0100
@@ -2688,7 +2688,7 @@ early_inliner (function *fun)
       /* If some always_inline functions was inlined, apply the changes.
         This way we will not account always inline into growth limits and
         moreover we will inline calls from always inlines that we skipped
-        previously becuase of conditional above.  */
+        previously because of conditional above.  */
       if (inlined)
        {
          timevar_push (TV_INTEGRATION);
--- gcc/ipa-devirt.c.jj 2016-02-25 17:04:17.553699186 +0100
+++ gcc/ipa-devirt.c    2016-03-08 14:43:38.740520817 +0100
@@ -393,7 +393,7 @@ odr_vtable_hasher::hash (const odr_type_
 
    When STRICT is true, we compare types by their names for purposes of
    ODR violation warnings.  When strict is false, we consider variants
-   equivalent, becuase it is all that matters for devirtualization machinery.
+   equivalent, because it is all that matters for devirtualization machinery.
 */
 
 bool
--- gcc/tree-streamer-out.c.jj  2016-01-25 12:10:59.006252536 +0100
+++ gcc/tree-streamer-out.c     2016-03-08 14:43:54.384305790 +0100
@@ -325,7 +325,7 @@ pack_ts_type_common_value_fields (struct
   bp_pack_value (bp, TYPE_READONLY (expr), 1);
   /* We used to stream TYPE_ALIAS_SET == 0 information to let frontends mark
      types that are opaque for TBAA.  This however did not work as intended,
-     becuase TYPE_ALIAS_SET == 0 was regularly lost in type merging.  */
+     because TYPE_ALIAS_SET == 0 was regularly lost in type merging.  */
   if (RECORD_OR_UNION_TYPE_P (expr))
     {
       bp_pack_value (bp, TYPE_TRANSPARENT_AGGR (expr), 1);
--- gcc/lto/lto-symtab.h.jj     2016-01-04 14:55:59.406382083 +0100
+++ gcc/lto/lto-symtab.h        2016-03-08 14:44:01.627206236 +0100
@@ -25,7 +25,7 @@ extern tree lto_symtab_prevailing_virtua
 /* Mark DECL to be previailed by PREVAILING.
    Use DECL_ABSTRACT_ORIGIN and DECL_CHAIN as special markers; those do not
    disturb debug_tree and diagnostics.
-   We are safe to modify them as we wish, becuase the declarations disappear
+   We are safe to modify them as we wish, because the declarations disappear
    from the IL after the merging.  */
 
 inline void

        Jakub

Reply via email to