This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] *.c: Follow spelling conventions.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 11 Oct 2003 15:00:57 -0400 (EDT)
- Subject: [patch] *.c: Follow spelling conventions.
Hi,
Attached is a patch to follow spelling conventions. Committed as
obvious.
Kazu Hirata
2003-10-11 Kazu Hirata <kazu@cs.umass.edu>
* expr.c: Follow spelling conventions.
* final.c: Likewise.
* optabs.c: Likewise.
* sched-deps.c: Likewise.
* sdbout.c: Likewise.
Index: expr.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/expr.c,v
retrieving revision 1.593
diff -u -r1.593 expr.c
--- expr.c 10 Oct 2003 19:21:12 -0000 1.593
+++ expr.c 11 Oct 2003 18:56:40 -0000
@@ -5716,7 +5716,7 @@
/* A SAVE_EXPR might appear many times in the expression passed to the
top-level safe_from_p call, and if it has a complex subexpression,
examining it multiple times could result in a combinatorial explosion.
- E.g. on an Alpha running at least 200MHz, a Fortran test case compiled
+ E.g. on an Alpha running at least 200MHz, a Fortran testcase compiled
with optimization took about 28 minutes to compile -- even though it was
only a few lines long. So we mark each SAVE_EXPR we see with TREE_PRIVATE
and turn that off when we are done. We keep a list of the SAVE_EXPRs
Index: final.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/final.c,v
retrieving revision 1.291
diff -u -r1.291 final.c
--- final.c 5 Oct 2003 19:50:54 -0000 1.291
+++ final.c 11 Oct 2003 18:56:41 -0000
@@ -3422,7 +3422,7 @@
break;
#ifdef ASM_FPRINTF_EXTENSIONS
- /* Upper case letters are reserved for general use by asm_fprintf
+ /* Uppercase letters are reserved for general use by asm_fprintf
and so are not available to target specific code. In order to
prevent the ASM_FPRINTF_EXTENSIONS macro from using them then,
they are defined here. As they get turned into real extensions
Index: optabs.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/optabs.c,v
retrieving revision 1.199
diff -u -r1.199 optabs.c
--- optabs.c 11 Oct 2003 03:49:54 -0000 1.199
+++ optabs.c 11 Oct 2003 18:56:44 -0000
@@ -4950,7 +4950,7 @@
/* Initialize the libfunc fields of an entire group of entries in some
optab. Each entry is set equal to a string consisting of a leading
pair of underscores followed by a generic operation name followed by
- a mode name (downshifted to lower case) followed by a single character
+ a mode name (downshifted to lowercase) followed by a single character
representing the number of operands for the given operation (which is
usually one of the characters '2', '3', or '4').
Index: sched-deps.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/sched-deps.c,v
retrieving revision 1.62
diff -u -r1.62 sched-deps.c
--- sched-deps.c 31 Jul 2003 07:56:36 -0000 1.62
+++ sched-deps.c 11 Oct 2003 18:56:44 -0000
@@ -1424,7 +1424,7 @@
free_INSN_LIST_list (&deps->last_pending_memory_flush);
/* Without the EXECUTE_IF_SET, this loop is executed max_reg * nr_regions
- times. For a test case with 42000 regs and 8000 small basic blocks,
+ times. For a testcase with 42000 regs and 8000 small basic blocks,
this loop accounted for nearly 60% (84 sec) of the total -O2 runtime. */
EXECUTE_IF_SET_IN_REG_SET (&deps->reg_last_in_use, 0, i,
{
Index: sdbout.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/sdbout.c,v
retrieving revision 1.80
diff -u -r1.80 sdbout.c
--- sdbout.c 30 Sep 2003 21:48:53 -0000 1.80
+++ sdbout.c 11 Oct 2003 18:56:45 -0000
@@ -1058,7 +1058,7 @@
/* This is reputed to cause trouble with the following case,
but perhaps checking TYPE_SIZE above will fix it. */
- /* Here is a test case:
+ /* Here is a testcase:
struct foo {
struct badstr *bbb;