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/*: Follow spelling conventions.


Hi,

Attached is a patch to follow spelling conventions.

Committed as obvious.

occurred

Kazu Hirata

2003-06-12  Kazu Hirata  <kazu@cs.umass.edu>

	* ChangeLog: Follow spelling conventions.
	* ChangeLog.2: Likewise.
	* c-decl.c: Likewise.
	* cfgloop.h: Likewise.
	* cgraph.c: Likewise.
	* coverage.c: Likewise.
	* cppcharset.c: Likewise.
	* cpphash.h: Likewise.
	* cpplex.c: Likewise.
	* cpplib.c: Likewise.
	* dbxout.c: Likewise.
	* df.c: Likewise.
	* dwarf2out.c: Likewise.
	* dwarfout.c: Likewise.
	* emit-rtl.c: Likewise.
	* explow.c: Likewise.
	* gcov-io.c: Likewise.
	* gcov-io.h: Likewise.
	* gcov.c: Likewise.
	* gengtype.c: Likewise.
	* ggc.h: Likewise.
	* opts.c: Likewise.
	* real.c: Likewise.
	* reload.c: Likewise.
	* stmt.c: Likewise.

Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ChangeLog,v
retrieving revision 1.18172
diff -u -r1.18172 ChangeLog
--- ChangeLog	12 Jun 2003 18:09:56 -0000	1.18172
+++ ChangeLog	12 Jun 2003 18:43:37 -0000
@@ -2416,7 +2416,7 @@
 
 2003-05-21  Danny Smith  <dannysmith@users.sourceforge.net>
 
-	* gthr-win32.h (__GTHREAD_HIDE_WIN32API): Test for non-zero
+	* gthr-win32.h (__GTHREAD_HIDE_WIN32API): Test for nonzero
 	value, not just if defined.
 	Update copyright year.
 
@@ -5056,7 +5056,7 @@
 		%call* relocs if generating explicit-reloc PIC.  Don't generate
 		an exception_receiver pattern.
 		(override_options): Initialize mips_got_alias_set.
-		(print_relocation): Remove in favour of...
+		(print_relocation): Remove in favor of...
 		(mips_reloc_string): ...this new function.
 		(print_operand): Handle '%R'.  Use mips_reloc_string.
 		(print_operand_address): Use print_operand to print the symbolic
@@ -6455,7 +6455,7 @@
 2003-04-19  Nathan Sidwell  <nathan@codesourcery.com>
 
 	* doc/invoke.texi (-fprofile-arcs): Mention -lgcov, locking and
-	fork behaviour.
+	fork behavior.
 
 2003-04-19  Neil Booth  <neil@daikokuya.co.uk>
 
@@ -7917,7 +7917,7 @@
 
 	PR c/9516
 	* expr.c (safe_from_p): Rearrange to avoid deep recursion in
-	favour of looping and tail recursion for TREE_LIST and binops.
+	favor of looping and tail recursion for TREE_LIST and binops.
 
 2003-04-08  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
 
@@ -11459,7 +11459,7 @@
 
 	* function.c (STACK_ALIGNMENT_NEEDED): New macro.  Default to 1.
 	(assign_stack_local_1): Perform overall stack alignment only when
-	STACK_ALIGNMENT_NEEDED is non-zero.
+	STACK_ALIGNMENT_NEEDED is nonzero.
 	* doc/tm.texi (STACK_ALIGNMENT_NEEDED): Document.
 
 	* pa.c (compute_frame_size): Rename fsize to size.  Account for
Index: ChangeLog.2
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ChangeLog.2,v
retrieving revision 1.17
diff -u -r1.17 ChangeLog.2
--- ChangeLog.2	19 Dec 2002 05:18:03 -0000	1.17
+++ ChangeLog.2	12 Jun 2003 18:43:49 -0000
@@ -4782,7 +4782,7 @@
 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
 
 	* toplev.c (main): Do not generate an error message if an
-	unrecognized command line switch is recognisable by another
+	unrecognized command line switch is recognizable by another
 	language.  If extra_warnings are enabled, then generate a
 	warning message instead.
 
@@ -10733,7 +10733,7 @@
 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
 
 	* config/rs6000/rs6000.c (rs6000_override_options): Fix test for
-	unrecognisable switches.
+	unrecognizable switches.
 
 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
 
Index: c-decl.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/c-decl.c,v
retrieving revision 1.392
diff -u -r1.392 c-decl.c
--- c-decl.c	4 Jun 2003 17:19:36 -0000	1.392
+++ c-decl.c	12 Jun 2003 18:44:00 -0000
@@ -1793,7 +1793,7 @@
 }
 
 /* Record X as belonging to the global scope (C99 "file scope").
-   This is used only internally by the Objective C front end,
+   This is used only internally by the Objective-C front end,
    and is limited to its needs.  It will hork if there is _any_
    visible binding for X (not just a global one).  */
 tree
Index: cfgloop.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cfgloop.h,v
retrieving revision 1.6
diff -u -r1.6 cfgloop.h
--- cfgloop.h	5 Mar 2003 22:05:18 -0000	1.6
+++ cfgloop.h	12 Jun 2003 18:44:13 -0000
@@ -144,7 +144,7 @@
   /* Loop that is copy of this loop.  */
   struct loop *copy;
 
-  /* Non-zero if the loop is invalid (e.g., contains setjmp.).  */
+  /* Nonzero if the loop is invalid (e.g., contains setjmp.).  */
   int invalid;
 
   /* Auxiliary info specific to a pass.  */
@@ -153,10 +153,10 @@
   /* The following are currently used by loop.c but they are likely to
      disappear as loop.c is converted to use the CFG.  */
 
-  /* Non-zero if the loop has a NOTE_INSN_LOOP_VTOP.  */
+  /* Nonzero if the loop has a NOTE_INSN_LOOP_VTOP.  */
   rtx vtop;
 
-  /* Non-zero if the loop has a NOTE_INSN_LOOP_CONT.
+  /* Nonzero if the loop has a NOTE_INSN_LOOP_CONT.
      A continue statement will generate a branch to NEXT_INSN (cont).  */
   rtx cont;
 
Index: cgraph.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cgraph.c,v
retrieving revision 1.9
diff -u -r1.9 cgraph.c
--- cgraph.c	8 Mar 2003 18:24:22 -0000	1.9
+++ cgraph.c	12 Jun 2003 18:44:16 -0000
@@ -71,7 +71,7 @@
 		       (((struct cgraph_node *) p)->decl));
 }
 
-/* Returns non-zero if P1 and P2 are equal.  */
+/* Returns nonzero if P1 and P2 are equal.  */
 
 static int
 eq_node (p1, p2)
Index: coverage.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/coverage.c,v
retrieving revision 1.9
diff -u -r1.9 coverage.c
--- coverage.c	14 May 2003 16:01:19 -0000	1.9
+++ coverage.c	12 Jun 2003 18:44:25 -0000
@@ -340,7 +340,7 @@
   return entry->counts;
 }
 
-/* Allocate NUM counters of type COUNTER. Returns non-zero if the
+/* Allocate NUM counters of type COUNTER. Returns nonzero if the
    allocation succeeded.  */
 
 int
@@ -426,7 +426,7 @@
 
 /* Begin output to the graph file for the current function.
    Opens the output file, if not already done. Writes the
-   function header, if not already done. Returns non-zero if data
+   function header, if not already done. Returns nonzero if data
    should be output.  */
 
 int
Index: cppcharset.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cppcharset.c,v
retrieving revision 1.2
diff -u -r1.2 cppcharset.c
--- cppcharset.c	21 Apr 2003 12:06:11 -0000	1.2
+++ cppcharset.c	12 Jun 2003 18:44:26 -0000
@@ -42,7 +42,7 @@
    are not part of the relevant standard, or if the string beginning
    at *PSTR doesn't syntactically match the form 'NNNN' or 'NNNNNNNN'.
 
-   Otherwise the non-zero value of the UCN, whether valid or invalid,
+   Otherwise the nonzero value of the UCN, whether valid or invalid,
    is returned.  Diagnostics are emitted for invalid values.  PSTR
    is updated to point one beyond the UCN, or to the syntactically
    invalid character.
Index: cpphash.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cpphash.h,v
retrieving revision 1.188
diff -u -r1.188 cpphash.h
--- cpphash.h	12 Jun 2003 06:09:13 -0000	1.188
+++ cpphash.h	12 Jun 2003 18:44:28 -0000
@@ -343,7 +343,7 @@
   struct cpp_path *quote_include;	/* "" */
   struct cpp_path *bracket_include;	/* <> */
 
-  /* Multiple include optimisation.  */
+  /* Multiple include optimization.  */
   const cpp_hashnode *mi_cmacro;
   const cpp_hashnode *mi_ind_cmacro;
   bool mi_valid;
Index: cpplex.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cpplex.c,v
retrieving revision 1.236
diff -u -r1.236 cpplex.c
--- cpplex.c	12 Jun 2003 06:09:15 -0000	1.236
+++ cpplex.c	12 Jun 2003 18:44:29 -0000
@@ -192,7 +192,7 @@
 
   /* Within comments we don't warn about trigraphs, unless the
      trigraph forms an escaped newline, as that may change
-     behaviour.  */
+     behavior.  */
   if (note->type != '/')
     return false;
 
@@ -710,7 +710,7 @@
 
       /* Outside a directive, invalidate controlling macros.  At file
 	 EOF, _cpp_lex_direct takes care of popping the buffer, so we never
-	 get here and MI optimisation works.  */
+	 get here and MI optimization works.  */
       pfile->mi_valid = false;
 
       if (!pfile->state.skipping || result->type == CPP_EOF)
Index: cpplib.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cpplib.c,v
retrieving revision 1.336
diff -u -r1.336 cpplib.c
--- cpplib.c	24 Apr 2003 20:03:51 -0000	1.336
+++ cpplib.c	12 Jun 2003 18:44:30 -0000
@@ -1490,7 +1490,7 @@
 
 /* _cpp_parse_expr puts a macro in a "#if !defined ()" expression in
    pfile->mi_ind_cmacro so we can handle multiple-include
-   optimisations.  If macro expansion occurs in the expression, we
+   optimizations.  If macro expansion occurs in the expression, we
    cannot treat it as a controlling conditional, since the expansion
    could change in the future.  That is handled by cpp_get_token.  */
 static void
Index: dbxout.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/dbxout.c,v
retrieving revision 1.140
diff -u -r1.140 dbxout.c
--- dbxout.c	4 Jun 2003 05:21:39 -0000	1.140
+++ dbxout.c	12 Jun 2003 18:44:38 -0000
@@ -1804,7 +1804,7 @@
     }
 }
 
-/* Return non-zero if the given type represents an integer whose bounds
+/* Return nonzero if the given type represents an integer whose bounds
    should be printed in octal format.  */
 
 static bool
Index: df.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/df.c,v
retrieving revision 1.51
diff -u -r1.51 df.c
--- df.c	5 Apr 2003 20:13:20 -0000	1.51
+++ df.c	12 Jun 2003 18:44:40 -0000
@@ -149,7 +149,7 @@
 4) Working with a sub-CFG.
 
 Often the whole CFG does not need to be analyzed, for example,
-when optimising a loop, only certain registers are of interest.
+when optimizing a loop, only certain registers are of interest.
 Perhaps there should be a bitmap argument to df_analyse to specify
 which registers should be analyzed?
 
@@ -885,7 +885,7 @@
 }
 
 
-/* Return non-zero if writes to paradoxical SUBREGs, or SUBREGs which
+/* Return nonzero if writes to paradoxical SUBREGs, or SUBREGs which
    are too narrow, are read-modify-write.  */
 bool
 read_modify_subreg_p (x)
Index: dwarf2out.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/dwarf2out.c,v
retrieving revision 1.429
diff -u -r1.429 dwarf2out.c
--- dwarf2out.c	5 Jun 2003 18:08:07 -0000	1.429
+++ dwarf2out.c	12 Jun 2003 18:44:50 -0000
@@ -11291,7 +11291,7 @@
       insn = DECL_RTL (decl);
 
       /* Deleted labels are programmer specified labels which have been
-	 eliminated because of various optimisations.  We still emit them
+	 eliminated because of various optimizations.  We still emit them
 	 here so that it is possible to put breakpoints on them.  */
       if (GET_CODE (insn) == CODE_LABEL
 	  || ((GET_CODE (insn) == NOTE
Index: dwarfout.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/dwarfout.c,v
retrieving revision 1.123
diff -u -r1.123 dwarfout.c
--- dwarfout.c	13 May 2003 18:06:45 -0000	1.123
+++ dwarfout.c	12 Jun 2003 18:44:52 -0000
@@ -3948,7 +3948,7 @@
       rtx insn = DECL_RTL (decl);
 
       /* Deleted labels are programmer specified labels which have been
-	 eliminated because of various optimisations.  We still emit them
+	 eliminated because of various optimizations.  We still emit them
 	 here so that it is possible to put breakpoints on them.  */
       if (GET_CODE (insn) == CODE_LABEL
 	  || ((GET_CODE (insn) == NOTE
@@ -5741,7 +5741,7 @@
 	 normal built-in types for the language we are compiling, except
 	 in cases where the types in question are *not* DWARF fundamental
 	 types.  We make an exception in the case of non-fundamental types
-	 for the sake of objective C (and perhaps C++) because the GNU
+	 for the sake of Objective-C (and perhaps C++) because the GNU
 	 front-ends for these languages may in fact create certain "built-in"
 	 types which are (for example) RECORD_TYPEs.  In such cases, we
 	 really need to output these (non-fundamental) types because other
Index: emit-rtl.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/emit-rtl.c,v
retrieving revision 1.330
diff -u -r1.330 emit-rtl.c
--- emit-rtl.c	8 Jun 2003 19:35:51 -0000	1.330
+++ emit-rtl.c	12 Jun 2003 18:44:54 -0000
@@ -351,7 +351,7 @@
   return ((p->offset * 1000) ^ (long) p->decl);
 }
 
-/* Returns non-zero if the value represented by X (which is really a
+/* Returns nonzero if the value represented by X (which is really a
    reg_attrs *) is the same as that given by Y (which is also really a
    reg_attrs *).  */
 
Index: explow.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/explow.c,v
retrieving revision 1.112
diff -u -r1.112 explow.c
--- explow.c	27 May 2003 18:44:56 -0000	1.112
+++ explow.c	12 Jun 2003 18:44:57 -0000
@@ -663,7 +663,7 @@
      contents of the initializer.  Yes, this does eliminate a good fraction
      of the number of uses of RTX_UNCHANGING_P for a language like Ada.
      It also eliminates a good quantity of bugs.  Let this be incentive to
-     eliminate RTX_UNCHANGING_P entirely in favour of a more reliable
+     eliminate RTX_UNCHANGING_P entirely in favor of a more reliable
      solution, perhaps based on alias sets.  */
 
   if ((TREE_READONLY (t) && DECL_P (t)
Index: gcov-io.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/gcov-io.c,v
retrieving revision 1.7
diff -u -r1.7 gcov-io.c
--- gcov-io.c	18 May 2003 11:17:38 -0000	1.7
+++ gcov-io.c	12 Jun 2003 18:45:22 -0000
@@ -313,7 +313,7 @@
   return;
 }
 
-/* Write a summary structure to the gcov file.  Return non-zero on
+/* Write a summary structure to the gcov file.  Return nonzero on
    overflow.  */
 
 GCOV_LINKAGE void
@@ -489,7 +489,7 @@
 
 #if IN_LIBGCOV
 /* Move to the a set position in a gcov file.  BASE is zero to move to
-   the end, and non-zero to move to that position. */
+   the end, and nonzero to move to that position. */
 
 GCOV_LINKAGE void
 gcov_seek (gcov_position_t base)
Index: gcov-io.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/gcov-io.h,v
retrieving revision 1.34
diff -u -r1.34 gcov-io.h
--- gcov-io.h	14 May 2003 16:01:18 -0000	1.34
+++ gcov-io.h	12 Jun 2003 18:45:22 -0000
@@ -147,8 +147,8 @@
 
    This file is included by both the compiler, gcov tools and the
    runtime support library libgcov. IN_LIBGCOV and IN_GCOV are used to
-   distinguish which case is which.  If IN_LIBGCOV is non-zero,
-   libgcov is being built. If IN_GCOV is non-zero, the gcov tools are
+   distinguish which case is which.  If IN_LIBGCOV is nonzero,
+   libgcov is being built. If IN_GCOV is nonzero, the gcov tools are
    being built. Otherwise the compiler is being built. IN_GCOV may be
    positive or negative. If positive, we are compiling a tool that
    requires additional functions (see the code for knowledge of what
@@ -480,7 +480,7 @@
   return gcov_var.start + gcov_var.offset;
 }
 
-/* Return non-zero if we read to end of file.  */
+/* Return nonzero if we read to end of file.  */
 
 static inline int
 gcov_is_eof ()
@@ -488,7 +488,7 @@
   return !gcov_var.overread;
 }
 
-/* Return non-zero if the error flag is set.  */
+/* Return nonzero if the error flag is set.  */
 
 static inline int
 gcov_is_error ()
Index: gcov.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/gcov.c,v
retrieving revision 1.66
diff -u -r1.66 gcov.c
--- gcov.c	29 May 2003 21:33:34 -0000	1.66
+++ gcov.c	12 Jun 2003 18:45:23 -0000
@@ -1745,7 +1745,7 @@
     }
 }
 
-/* Ouput information about ARC number IX.  Returns non-zero if
+/* Ouput information about ARC number IX.  Returns nonzero if
    anything is output.  */
 
 static int
Index: gengtype.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/gengtype.c,v
retrieving revision 1.31
diff -u -r1.31 gengtype.c
--- gengtype.c	1 Jun 2003 15:59:09 -0000	1.31
+++ gengtype.c	12 Jun 2003 18:45:36 -0000
@@ -1654,7 +1654,7 @@
 	const char *oldval = d->val;
 	char *newval;
 
-	/* If it's an array of scalars, we optimise by not generating
+	/* If it's an array of scalars, we optimize by not generating
 	   any code.  */
 	if (t->u.a.p->kind == TYPE_SCALAR)
 	  break;
Index: ggc.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ggc.h,v
retrieving revision 1.51
diff -u -r1.51 ggc.h
--- ggc.h	7 Jun 2003 18:35:34 -0000	1.51
+++ ggc.h	12 Jun 2003 18:45:40 -0000
@@ -103,7 +103,7 @@
 
 /* Actually set the mark on a particular region of memory, but don't
    follow pointers.  This function is called by ggc_mark_*.  It
-   returns zero if the object was not previously marked; non-zero if
+   returns zero if the object was not previously marked; nonzero if
    the object was already marked, or if, for any other reason,
    pointers in this data structure should not be traversed.  */
 extern int ggc_set_mark	(const void *);
Index: opts.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/opts.c,v
retrieving revision 1.3
diff -u -r1.3 opts.c
--- opts.c	11 Jun 2003 22:21:07 -0000	1.3
+++ opts.c	12 Jun 2003 18:46:04 -0000
@@ -163,7 +163,7 @@
       if (!on && (option->flags & CL_REJECT_NEGATIVE))
 	goto done;
 
-      /* We've recognised this switch.  */
+      /* We've recognized this switch.  */
       result = 1;
 
       /* Sort out any argument the switch takes.  */
Index: real.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/real.c,v
retrieving revision 1.119
diff -u -r1.119 real.c
--- real.c	23 May 2003 03:46:51 -0000	1.119
+++ real.c	12 Jun 2003 18:46:16 -0000
@@ -2281,7 +2281,7 @@
 }
 
 /* Fills R with the largest finite value representable in mode MODE.
-   If SIGN is non-zero, R is set to the most negative finite value.  */
+   If SIGN is nonzero, R is set to the most negative finite value.  */
 
 void
 real_maxval (r, sign, mode)
@@ -3033,7 +3033,7 @@
 
 
 /* IEEE extended double precision format.  This comes in three
-   flavours: Intel's as a 12 byte image, Intel's as a 16 byte image,
+   flavors: Intel's as a 12 byte image, Intel's as a 16 byte image,
    and Motorola's.  */
 
 static void encode_ieee_extended PARAMS ((const struct real_format *fmt,
Index: reload.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/reload.c,v
retrieving revision 1.213
diff -u -r1.213 reload.c
--- reload.c	2 May 2003 00:53:45 -0000	1.213
+++ reload.c	12 Jun 2003 18:46:26 -0000
@@ -4887,7 +4887,7 @@
      of it.
 
      Handle all base registers here, not just fp/ap/sp, because on some
-     targets (namely Sparc) we can also get invalid addresses from preventive
+     targets (namely SPARC) we can also get invalid addresses from preventive
      subreg big-endian corrections made by find_reloads_toplev.
 
      If we decide to do something, it must be that `double_reg_address_ok'
Index: stmt.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/stmt.c,v
retrieving revision 1.306
diff -u -r1.306 stmt.c
--- stmt.c	12 Jun 2003 01:04:31 -0000	1.306
+++ stmt.c	12 Jun 2003 18:46:48 -0000
@@ -5592,7 +5592,7 @@
 	      /* For constant index expressions we need only
 		 issue an unconditional branch to the appropriate
 		 target code.  The job of removing any unreachable
-		 code is left to the optimisation phase if the
+		 code is left to the optimization phase if the
 		 "-O" option is specified.  */
 	      for (n = thiscase->data.case_stmt.case_list; n; n = n->right)
 		if (! tree_int_cst_lt (index_expr, n->low)


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