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] gcc, cp: Fix comment typos, etc.


Hi,

Committed as obvious.

The hunk for cppopts.texi was applied to 3.4 branch as well.

Kazu Hirata

gcc/
2004-02-29  Kazu Hirata  <kazu@cs.umass.edu>

	* passes.c, config/frv/frv.c, config/sh/sh.c: Fix comment
	typos.
	* doc/cppopts.texi: Fix a typo.

gcc/cp/
2004-02-29  Kazu Hirata  <kazu@cs.umass.edu>

	* call.c: Fix a comment typo.

Index: passes.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/passes.c,v
retrieving revision 2.1
diff -u -r2.1 passes.c
--- passes.c	27 Feb 2004 08:54:30 -0000	2.1
+++ passes.c	29 Feb 2004 21:49:04 -0000
@@ -774,7 +774,7 @@
     {
       schedule_ebbs (dump_file);
       /* No liveness updating code yet, but it should be easy to do.
-	 reg-stack recompute the liveness when needed for now.  */
+	 reg-stack recomputes the liveness when needed for now.  */
       count_or_remove_death_notes (NULL, 1);
       cleanup_cfg (CLEANUP_EXPENSIVE);
     }
Index: config/frv/frv.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/frv/frv.c,v
retrieving revision 1.52
diff -u -r1.52 frv.c
--- config/frv/frv.c	24 Feb 2004 23:39:57 -0000	1.52
+++ config/frv/frv.c	29 Feb 2004 21:49:21 -0000
@@ -5447,7 +5447,7 @@
 	     
 	     With -fpie/-fpic, we'd be trading a single load for a
 	     sequence of 4 instructions, because the offset of the
-	     label can't be assumed to be addressible with 12 bits, so
+	     label can't be assumed to be addressable with 12 bits, so
 	     we don't do this.  */
 	  if (TARGET_GPREL_RO)
 	    unspec = R_FRV_GPREL12;
Index: config/sh/sh.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sh/sh.c,v
retrieving revision 1.261
diff -u -r1.261 sh.c
--- config/sh/sh.c	29 Feb 2004 02:53:51 -0000	1.261
+++ config/sh/sh.c	29 Feb 2004 21:49:38 -0000
@@ -8562,7 +8562,7 @@
    functions that already have high pressure on r0. */
 #define R0_MAX_LIFE_REGIONS 2
 #define R0_MAX_LIVE_LENGTH 12
-/* Register Pressure threshols for SImode and SFmode registers.  */
+/* Register Pressure thresholds for SImode and SFmode registers.  */
 #define SIMODE_MAX_WEIGHT 5
 #define SFMODE_MAX_WEIGHT 10
 
Index: cp/call.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/call.c,v
retrieving revision 1.463
diff -u -r1.463 call.c
--- cp/call.c	16 Feb 2004 02:35:48 -0000	1.463
+++ cp/call.c	29 Feb 2004 21:49:49 -0000
@@ -3268,7 +3268,7 @@
 	 conversion to "volatile X", what is the type of the second
 	 operand after this step?  Making it be "const X" (matching
 	 the first operand) seems wrong, as that discards the
-	 qualification without actuall performing a copy.  Leaving it
+	 qualification without actually performing a copy.  Leaving it
 	 as "volatile X" seems wrong as that will result in the
 	 conditional expression failing altogether, even though,
 	 according to this step, the one operand could be converted to
Index: doc/cppopts.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/cppopts.texi,v
retrieving revision 1.30
diff -u -r1.30 cppopts.texi
--- doc/cppopts.texi	2 Feb 2004 20:20:50 -0000	1.30
+++ doc/cppopts.texi	29 Feb 2004 21:49:51 -0000
@@ -516,7 +516,7 @@
 Set the input character set, used for translation from the character
 set of the input file to the source character set used by GCC. If the
 locale does not specify, or GCC cannot get this information from the
-locale, the default is UTF-8. This can be overriden by either the locale
+locale, the default is UTF-8. This can be overridden by either the locale
 or this command line option. Currently the command line option takes
 precedence if there's a conflict. @var{charset} can be any encoding
 supported by the system's @code{iconv} library routine.


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