This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] ada/*.c: Fix comment typos.


Hi,

Committed as obvious.

Kazu Hirata

2005-07-29  Kazu Hirata  <kazu@codesourcery.com>

	* decl.c, init.c, initialize.c: Fix comment typos.

Index: decl.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ada/decl.c,v
retrieving revision 1.77
diff -u -d -p -r1.77 decl.c
--- decl.c	20 Jul 2005 01:18:51 -0000	1.77
+++ decl.c	29 Jul 2005 14:59:20 -0000
@@ -5168,7 +5168,7 @@ gnat_to_gnu_field (Entity_Id gnat_field,
 
       /* Compute whether we should avoid the substitution.  */
       int reject =
-        /* There is no point subtituting if there is no change.  */
+        /* There is no point substituting if there is no change.  */
         (gnu_packable_type == gnu_field_type
          ||
          /* The size of an aliased field must be an exact multiple of the
Index: init.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ada/init.c,v
retrieving revision 1.51
diff -u -d -p -r1.51 init.c
--- init.c	4 Jul 2005 13:26:02 -0000	1.51
+++ init.c	29 Jul 2005 14:59:20 -0000
@@ -282,7 +282,7 @@ __gnat_set_globals (int main_priority,
    as the faulting instruction address in the corresponding signal context
    pushed by the kernel. Leaving this address untouched may loose, because if
    the triggering instruction happens to be the very first of a region, the
-   later adjustements performed by the unwinder would yield an address outside
+   later adjustments performed by the unwinder would yield an address outside
    that region. We need to compensate for those adjustments at some point,
    which we currently do in the GCC unwinding fallback macro.
 
@@ -1137,7 +1137,7 @@ extern char *__gnat_error_prehandler_sta
 
 /* Define macro symbols for the VMS conditions that become Ada exceptions.
    Most of these are also defined in the header file ssdef.h which has not
-   yet been converted to be recoginized by Gnu C. */
+   yet been converted to be recognized by Gnu C. */
 
 /* Defining these as macros, as opposed to external addresses, allows
    them to be used in a case statement (below */
@@ -1155,7 +1155,7 @@ extern int LIB$_ACTIMAGE;
 extern int MTH$_FLOOVEMAT;       /* Some ACVC_21 CXA tests */
 
 /* These codes are non standard, which is to say the author is
-   not sure if they are defined in the standar message libraries
+   not sure if they are defined in the standard message libraries
    so keep them as macros for now. */
 #define RDB$_STREAM_EOF 20480426
 #define FDL$_UNPRIKW 11829410
@@ -1315,7 +1315,7 @@ static const struct cond_except cond_exc
    ??? This is not a perfect solution to deal with the possible
    interactions between the GNAT and the DECAda exception handling
    models and better (more general) schemes are studied.  This is so
-   just provided as a conveniency workaround in the meantime, and
+   just provided as a convenient workaround in the meantime, and
    should be use with caution since the implementation has been kept
    very simple.  */
 
@@ -1767,7 +1767,7 @@ __gnat_init_float (void)
   asm ("mtfsb0 26");
 #endif
 
-  /* Similarily for sparc64. Achieved by masking bits in the Trap Enable Mask
+  /* Similarly for sparc64. Achieved by masking bits in the Trap Enable Mask
      field of the Floating-point Status Register (see the Sparc Architecture
      Manual Version 9, p 48).  */
 #if defined (sparc64)
Index: initialize.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ada/initialize.c,v
retrieving revision 1.2
diff -u -d -p -r1.2 initialize.c
--- initialize.c	1 Jul 2005 01:24:56 -0000	1.2
+++ initialize.c	29 Jul 2005 14:59:20 -0000
@@ -123,7 +123,7 @@ __gnat_initialize (void *eh)
      constructor fashion, typically triggered by the VxWorks loader.  This is
      achieved by way of a special variable declaration in the crt object, the
      name of which has been deduced by analyzing the output of the "munching"
-     step documented for C++.  The de-registration is handled symetrically,
+     step documented for C++.  The de-registration is handled symmetrically,
      a-la C++ destructor fashion and typically triggered by the dynamic
      unloader.  Note that since the tables shall be registered against a
      common datastructure, libgcc should be one of the modules (vs beeing


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]