]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ChangeLog.1, [...]: Fix spelling errors.
authorJoseph Myers <jsm28@gcc.gnu.org>
Sun, 16 Dec 2001 16:07:01 +0000 (16:07 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Sun, 16 Dec 2001 16:07:01 +0000 (16:07 +0000)
* ChangeLog.1, ChangeLog.2, ChangeLog, NEWS, call.c, class.c,
cp-tree.h, decl.c, decl2.c, except.c, operators.def, optimize.c,
pt.c, rtti.c, semantics.c, typeck.c: Fix spelling errors.

From-SVN: r48072

16 files changed:
gcc/cp/ChangeLog
gcc/cp/ChangeLog.1
gcc/cp/ChangeLog.2
gcc/cp/NEWS
gcc/cp/call.c
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/except.c
gcc/cp/operators.def
gcc/cp/optimize.c
gcc/cp/pt.c
gcc/cp/rtti.c
gcc/cp/semantics.c
gcc/cp/typeck.c

index b653af5f4523db53c26709f5b4d8d24ccc15848a..b9488e747cf8a6cc0ee1437c4bee8329d577b0e5 100644 (file)
@@ -1,3 +1,9 @@
+2001-12-16  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * ChangeLog.1, ChangeLog.2, ChangeLog, NEWS, call.c, class.c,
+       cp-tree.h, decl.c, decl2.c, except.c, operators.def, optimize.c,
+       pt.c, rtti.c, semantics.c, typeck.c: Fix spelling errors.
+
 2001-12-15  Joseph S. Myers  <jsm28@cam.ac.uk>
 
        * lang-options.h: Use American spelling in messages.
@@ -1308,7 +1314,7 @@ Fri Sep 21 08:16:19 2001  J"orn Rennecke <amylaar@redhat.com>
 2001-07-20  Nathan Sidwell  <nathan@codesourcery.com>
 
        Remove old-abi remnants. Remove comments about old abi
-       behaviour. Remove refences to 'new-abi' in comments.
+       behaviour. Remove references to 'new-abi' in comments.
        * cp-tree.h: Adjust comments.
        (vbase_offsets_in_vtable_p): Delete.
        (vcall_offsets_in_vtable_p): Delete.
@@ -3652,7 +3658,7 @@ Sun Feb  4 15:52:44 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 
        * decl.c (struct binding_level): Adjust class_shadowed comments
        to reflect reality.
-       (push_class_level_binding): Ajust comments to reflect reality.
+       (push_class_level_binding): Adjust comments to reflect reality.
        Set IDENTIFIER_CLASS_VALUE when replacing an existing binding.
        Don't set TREE_VALUE on the class_shadowed list.
 
@@ -6406,7 +6412,7 @@ Wed Jul 26 15:05:51 CEST 2000     Marc Espie <espie@cvs.openbsd.org>
 2000-06-23  Kriang Lerdsuwanakij <lerdsuwa@scf.usc.edu>
 
        * parse.y (template_arg): Convert TEMPLATE_DECL
-       that is a template template paramter to
+       that is a template template parameter to
        TEMPLATE_TEMPLATE_PARM here.
 
        * cp-tree.def (TEMPLATE_TEMPLATE_PARM): Adjust comment.
@@ -7471,10 +7477,10 @@ Sat May 27 11:25:46 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
        * tinfo.h (__user_type_info::contained_virtual_p): New
        predicate.
        * tinfo.cc (__user_type_info::do_upcast): Fix bug with diamond
-       shaped heirarchy.
+       shaped hierarchy.
        (__vmi_class_type_info::__do_upcast): Fix bug with NULL pointer to
-       diamond shaped heirarchy. Add early out for mixed diamond and
-       duplicate shaped heirarchy.
+       diamond shaped hierarchy. Add early out for mixed diamond and
+       duplicate shaped hierarchy.
 
 2000-05-24  Mark Mitchell  <mark@codesourcery.com>
 
@@ -7519,7 +7525,7 @@ Mon May 15 11:46:29 2000  Donald Lindsay  <dlindsay@cygnus.com>
        (__si_class_type_info::__do_upcast): Adjust. Use parent's
        __do_upcast.
        (__vmi_class_type_info::__do_upcast): Likewise. Fix private
-       virtual base in diamond heirarchy bug.
+       virtual base in diamond hierarchy bug.
 
 2000-05-23  Mark Mitchell  <mark@codesourcery.com>
 
@@ -10559,7 +10565,7 @@ Wed Jan 26 22:19:14 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
        build_static_cast, build_reinterpret_cast, build_const_cast,
        build_c_cast, build_modify_expr, get_delta_difference,
        build_ptrmemfunc, check_return_expr): Replace 'ANSI C++' with
-       'ISO C++'.  Fusion consecutive calls to diagnotic message routines
+       'ISO C++'.  Fusion consecutive calls to diagnostic message routines
        into a single one.
        * typeck2.c (readonly_error, abstract_virtuals_error,
        process_init_constructor, check_for_new_type): Likewise.
index 5cc0dac7fb0d7d91b4073038822af4cf9cb9cdd4..b411f18ef05acdd5d55228febb6377bd35e9aab3 100644 (file)
@@ -2309,7 +2309,7 @@ Mon Mar  6 15:07:02 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
        function.
 
        Make base initialization more re-entrant so that synthesis on the
-       fly will work (and, eventually, template instantation on the fly).
+       fly will work (and, eventually, template instantiation on the fly).
        * init.c (sort_member_init): Don't bother with members that can't be
        initialized.  Reorganize a bit.  Don't initialize base members here.
        (sort_base_init): New function, like sort_member_init, but for base
index 7a848eedc1834c147f4a889323f9a3c165627dd3..179d6d7b13606fcb3a12525458a398ab27988540 100644 (file)
@@ -1216,7 +1216,7 @@ Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
 1999-10-07  Mark Mitchell  <mark@codesourcery.com>
 
        * pt.c (tsubst_expr): Set DECL_TEMPLATE_INSTANTIATED for a catch
-       paramter.
+       parameter.
        
        * semantics.c (expand_stmt): Don't pretend to have asmspecs for
        local statics if we don't really have them.
@@ -1357,7 +1357,7 @@ Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
        (mark_lang_function): Use mark_stmt_tree.
        * expr.c (cplus_expand_expr): Don't handle VEC_INIT_EXPR.
        * init.c (build_new_1): Remove creation of VEC_INIT_EXPR.
-       (build_vec_init): Remove creation of stand-in intializer.
+       (build_vec_init): Remove creation of stand-in initializer.
        * pt.c (begin_tree): Remove.
        (end_tree): Likewise.
        * semantics.c (SET_LAST_STMT): New macro.  Use it throughout.
@@ -1463,7 +1463,7 @@ Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
        (pushlevel_class): Don't push_decl_level.
        (poplevel_class): Don't pop_stack_level.
        (push_class_level_binding): Don't push_cache_obstack.
-       (init_decl_processing): Don't intialize decl_obstack.
+       (init_decl_processing): Don't initialize decl_obstack.
        * search.c (push_class_decls): Don't push_cache_obstack.
        * tree.c (list_hash_add): Put hash node on permanent_obstack.
        (hash_tree_cons): Don't mess with obstacks.
@@ -2255,7 +2255,7 @@ Sun Sep 12 23:29:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
        if appropriate.
        (finish_decl_cleanup): New function.
        (expand_stmt): Use emit_local_var to output variables.          
-       (expand_body): Set current_funtion_name_declared.
+       (expand_body): Set current_function_name_declared.
        
 1999-09-10  Mark Mitchell  <mark@codesourcery.com>
 
@@ -4139,7 +4139,7 @@ Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
        (ARITHMETIC_TYPE_P): Adjust definition for standard conformance.
        (strip_top_quals): Declare.
        (ncp_convert): Likewise.
-       (type_after_usual_arithmetic_converions): Likewise.
+       (type_after_usual_arithmetic_conversions): Likewise.
        (composite_pointer_type): Likewise.
        * call.c (strip_top_quals): Don't make it static.
        (promoted_arithmetic_type_p): New function.
@@ -4670,7 +4670,7 @@ Wed Jul  7 01:26:47 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
 1999-05-25  Mark Mitchell  <mark@codesourcery.com>
 
        * class.c (finish_vtbls): Copy BINFO_VIRTUALs before using it to
-       intialize a vtable.
+       initialize a vtable.
 
        * cp-tree.h (NAMESPACE_LEVEL): Reformat.
        (lang_decl_flags): Document MEMFUNC_POINTER_TO.  Save four bytes
@@ -9673,7 +9673,7 @@ Fri Aug 14 16:42:27 1998  Nick Clifton  <nickc@cygnus.com>
        push_template_decl_real instead of push_template_decl.
        * method.c (build_decl_overload_real): Remove prototype.  Give it
        external linkage.
-       (build_overload_identififer): Adjust call to innermost_args.
+       (build_overload_identifier): Adjust call to innermost_args.
        (build_template_decl_overload): Remove.
        (set_mangled_name_for_decl): New function.
        * parse.y (.finish_template_type): New non-terminal.
index 2d3632cdf015957b32c3f886c97434dfe84cf1b0..1790882cfcf54d4e3e6bc8a75f7feefde83bb590 100644 (file)
@@ -33,7 +33,7 @@
       void operator delete[] (void *);
     };
 
-  does not cause unncessary storage to be allocated when an array of
+  does not cause unnecessary storage to be allocated when an array of
   `A' objects is allocated.
 
   This change will only affect code that declares both of these
index 8b1e2bb081440ad9dc10bded9f65f054fe39831c..bd43a404409442b953b7f1b1ae4b28357007777d 100644 (file)
@@ -1125,7 +1125,7 @@ reference_binding (rto, rfrom, expr, flags)
     {
       /* [dcl.init.ref]
 
-        If the intializer expression 
+        If the initializer expression 
         
         -- is an lvalue (but not an lvalue for a bit-field), and "cv1 T1"
            is reference-compatible with "cv2 T2,"
index 0b0d33f60313571ab5189ea5c125e10f64a3b245..b9ed718cf0d4ba7962e4b37bdf689d73696bcdcf 100644 (file)
@@ -1380,9 +1380,9 @@ check_bases (t, cant_have_default_ctor_p, cant_have_const_ctor_p,
     }
 }
 
-/* Binfo FROM is within a virtual heirarchy which is being reseated to
+/* Binfo FROM is within a virtual hierarchy which is being reseated to
    TO. Move primary information from FROM to TO, and recursively traverse
-   into FROM's bases. The heirarchy is dominated by TYPE.  MAPPINGS is an
+   into FROM's bases. The hierarchy is dominated by TYPE.  MAPPINGS is an
    assoc list of binfos that have already been reseated.  */
 
 static void
@@ -1448,7 +1448,7 @@ force_canonical_binfo_r (to, from, type, mappings)
 }
 
 /* FROM is the canonical binfo for a virtual base. It is being reseated to
-   make TO the canonical binfo, within the heirarchy dominated by TYPE.
+   make TO the canonical binfo, within the hierarchy dominated by TYPE.
    MAPPINGS is an assoc list of binfos that have already been reseated.
    Adjust any non-virtual bases within FROM, and also move any virtual bases
    which are canonical.  This complication arises because selecting primary
@@ -6907,7 +6907,7 @@ build_vtt (t)
 }
 
 /* The type corresponding to BASE_BINFO is a base of the type of BINFO, but
-   from within some heirarchy which is inherited from the type of BINFO.
+   from within some hierarchy which is inherited from the type of BINFO.
    Return BASE_BINFO's equivalent binfo from the hierarchy dominated by
    BINFO.  */
 
index 70b51102b945dc1dbfc5f5c80b3dc4d3b1b0d0aa..d4fc1b6de0b41967bf2c96a433e10e674e68a862 100644 (file)
@@ -1609,7 +1609,7 @@ struct lang_type
 
 /* Nonzero if this binfo has lost its primary base binfo (because that
    is a nearly-empty virtual base that has been taken by some other
-   base in the complete heirarchy.  */
+   base in the complete hierarchy.  */
 #define BINFO_LOST_PRIMARY_P(NODE) TREE_LANG_FLAG_2 (NODE)
 
 /* Nonzero if this binfo is an indirect primary base, i.e. a virtual
@@ -3018,7 +3018,7 @@ typedef enum instantiate_type_flags {
   itf_ptrmem_ok = 1 << 2,     /* pointers to member ok (internal use) */
 } instantiate_type_flags;
 
-/* The kind of checking we can do looking in a class heirarchy. */
+/* The kind of checking we can do looking in a class hierarchy. */
 typedef enum base_access {
   ba_any = 0,      /* Do not check access, allow an ambiguous base,
                      prefer a non-virtual base */
@@ -3029,7 +3029,7 @@ typedef enum base_access {
   ba_quiet = 4,    /* Do not issue error messages (bit mask).  */
 } base_access;
 
-/* The kind of base we can find, looking in a class heirarchy.
+/* The kind of base we can find, looking in a class hierarchy.
    Values <0 indicate we failed. */
 typedef enum base_kind {
   bk_inaccessible = -3,   /* The base is inaccessible */
@@ -3090,7 +3090,7 @@ typedef enum unification_kind_t {
   DEDUCE_ORDER
 } unification_kind_t;
 
-/* Macros for operating on a template instantation level node, represented
+/* Macros for operating on a template instantiation level node, represented
    by an EXPR_WITH_FILE_LOCATION.  */
 
 #define TINST_DECL(NODE) EXPR_WFL_NODE (NODE)
index c997535a9d5284ff59b42bc1eb817c872b82c0b3..f9aceaa1e3ed2d02601728c1e77f2baa757cdd36 100644 (file)
@@ -7834,7 +7834,7 @@ make_rtl_for_nonlocal_decl (decl, init, asmspec)
   defer_p = DECL_FUNCTION_SCOPE_P (decl) || DECL_VIRTUAL_P (decl);
 
   /* We try to defer namespace-scope static constants so that they are
-     not emitted into the object file unncessarily.  */
+     not emitted into the object file unnecessarily.  */
   if (!DECL_VIRTUAL_P (decl)
       && TREE_READONLY (decl)
       && DECL_INITIAL (decl) != NULL_TREE
@@ -8401,7 +8401,7 @@ start_cleanup_fn ()
   DECL_ARTIFICIAL (fndecl) = 1;
   /* Make the function `inline' so that it is only emitted if it is
      actually needed.  It is unlikely that it will be inlined, since
-     it is only called via a function pointer, but we avoid unncessary
+     it is only called via a function pointer, but we avoid unnecessary
      emissions this way.  */
   DECL_INLINE (fndecl) = 1;
   /* Build the parameter.  */
@@ -11042,7 +11042,7 @@ grokdeclarator (declarator, declspecs, decl_context, initialized, attrlist)
       && TREE_OVERFLOW (TYPE_SIZE (type)))
     {
       error ("size of array `%s' is too large", name);
-      /* If we proceed with the array type as it is, we'll eventully
+      /* If we proceed with the array type as it is, we'll eventually
         crash in tree_low_cst().  */
       type = error_mark_node;
     }
index e625d963651896182836856811d9f17e38bc589f..10120450f2ed6978e10e3f92e6bbc09a209bf584 100644 (file)
@@ -1690,7 +1690,7 @@ grokbitfield (declarator, declspecs, width)
      check here.  */
   if (TREE_CODE (value) == FUNCTION_DECL)
     {
-      cp_error ("cannot declare bitfield `%D' with funcion type",
+      cp_error ("cannot declare bitfield `%D' with function type",
                DECL_NAME (value));
       return NULL_TREE;
     }
index 079df977566c824a575c2c52b7eb19ae6b9b9d40..32f2458bff957168898c8108b3fc9f7277499640 100644 (file)
@@ -86,7 +86,7 @@ init_exception_processing ()
 }
 
 /* Returns an expression to be executed if an unhandled exception is
-   propogated out of a cleanup region.  */
+   propagated out of a cleanup region.  */
 
 static tree
 cp_protect_cleanup_actions ()
index 8e0f7b2478e0f57dcb6a7c33fe4f06a5492a12b8..775f59db05208d8aba14cdff8e690c2cea804635 100644 (file)
@@ -29,7 +29,7 @@ Boston, MA 02111-1307, USA.  */
    NAME
 
      The name of the operator, as a C string, but without the
-     preceeding `operator'.  This is the name that would be given in
+     preceding `operator'.  This is the name that would be given in
      the source program.  For `operator +', for example, this would be
      `+'.
    
@@ -48,7 +48,7 @@ Boston, MA 02111-1307, USA.  */
 
    OLD_MANGLING
 
-     Analagous, but for the old ABI.
+     Analogous, but for the old ABI.
 
    ARITY
    
@@ -65,7 +65,7 @@ Boston, MA 02111-1307, USA.  */
 
    There is code (such as in grok_op_properties) that depends on the
    order the operators are presented in this file.  In particular,
-   unary operators must preceed binary operators.  */
+   unary operators must precede binary operators.  */
  
 /* Use DEF_SIMPLE_OPERATOR to define a non-assignment operator.  Its
    arguments are as for DEF_OPERATOR, but there is no need to provide
index ae343dcaf64db2e9e27f4751bec0c281f7b02d71..ac51cda4963cf6872988faa0954616e6b3fb2b32 100644 (file)
@@ -194,7 +194,7 @@ maybe_clone_body (fn)
       for (; parm;
           parm = TREE_CHAIN (parm), clone_parm = TREE_CHAIN (clone_parm))
        {
-         /* Update this paramter.  */
+         /* Update this parameter.  */
          update_cloned_parm (parm, clone_parm);
          /* We should only give unused information for one clone. */
          if (!first)
index 79a413b27be7bd7216370ef87514f82b46f9e1ab..7775fcf9bf29eda24fe65d6fd35f3d679409b363 100644 (file)
@@ -9622,7 +9622,7 @@ do_type_instantiation (t, storage, complain)
 
          If CLASSTYPE_INTERFACE_ONLY, then the first explicit instantiation
         was `extern'.  If EXTERN_P then the second is.  If -frepo, chances
-        are we already got marked as an explicit instantion because of the
+        are we already got marked as an explicit instantiation because of the
         repo file.  All these cases are OK.  */
       if (!CLASSTYPE_INTERFACE_ONLY (t) && !extern_p && !flag_use_repository
          && complain)
index a1b665e592735ceffc73787fc307f8ba25b8bcae..f99f1cc615027b9375be97678450d816b7d9ab5a 100644 (file)
@@ -860,7 +860,7 @@ dfs_class_hint_unmark (binfo, data)
   return NULL_TREE;
 }
 
-/* Determine the hint flags describing the features of a class's heirarchy.  */
+/* Determine the hint flags describing the features of a class's hierarchy.  */
 
 static int
 class_hint_flags (type)
@@ -1315,7 +1315,7 @@ create_tinfo_types ()
     TYPE_HAS_CONSTRUCTOR (base_desc_type_node) = 1;
   }
   
-  /* General heirarchy is created as necessary in this vector. */
+  /* General hierarchy is created as necessary in this vector. */
   vmi_class_desc_type_node = make_tree_vec (10);
   
   /* Pointer type_info. Adds two fields, qualification mask
index bbd43e993290a45cc968e81b686bb00ae68b6f0a..632e91320381c3675b9c9fc355aac012f6942417 100644 (file)
@@ -1116,7 +1116,7 @@ finish_mem_initializers (init_list)
          /* We're running through the initializers from right to left
             as we process them here.  So, if we see a data member
             initializer after we see a base initializer, that
-            actually means that the base initializer preceeded the
+            actually means that the base initializer preceded the
             data member initializer.  */
          if (warn_reorder && last_base_warned_about != base_init_list)
            {
@@ -2109,7 +2109,7 @@ enter_scope_of (sr)
 /* Finish processing a BASE_CLASS with the indicated ACCESS_SPECIFIER.
    Return a TREE_LIST containing the ACCESS_SPECIFIER and the
    BASE_CLASS, or NULL_TREE if an error occurred.  The
-   ACCESSS_SPECIFIER is one of
+   ACCESS_SPECIFIER is one of
    access_{default,public,protected_private}[_virtual]_node.*/
 
 tree 
@@ -2455,7 +2455,7 @@ expand_body (fn)
       /* Remember this function.  In finish_file we'll decide if
         we actually need to write this function out.  */
       defer_fn (fn);
-      /* Let the back-end know that this funtion exists.  */
+      /* Let the back-end know that this function exists.  */
       (*debug_hooks->deferred_inline_function) (fn);
       return;
     }
index 04a70304dbd0967c552cb98d9a67a0cb5a1a826c..b721faefc9cb8a3205bb15b916485fe5fedf3faa 100644 (file)
@@ -324,7 +324,7 @@ original_type (t)
 }
 
 /* T1 and T2 are arithmetic or enumeration types.  Return the type
-   that will result from the "usual arithmetic converions" on T1 and
+   that will result from the "usual arithmetic conversions" on T1 and
    T2 as described in [expr].  */
 
 tree
@@ -7010,7 +7010,7 @@ casts_away_constness (t1, t2)
        Casting from an rvalue of type "pointer to data member of X
        of type T1" to the type "pointer to data member of Y of type
        T2" casts away constness if a cast from an rvalue of type
-       "poitner to T1" to the type "pointer to T2" casts away
+       "pointer to T1" to the type "pointer to T2" casts away
        constness.  */
     return casts_away_constness
       (build_pointer_type (TREE_TYPE (TREE_TYPE (t1))),