This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] gcc: Fix comment typos.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 26 Dec 2002 16:11:35 -0500 (EST)
- Subject: [patch] gcc: Fix comment typos.
Hi,
Attached is a patch to fix comment typos. Committed as obvious.
Kazu Hirata
2002-12-26 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300-protos.h: Fix comment typos.
Update copyright.
* config/h8300/h8300.c: Fix comment typos.
Index: h8300-protos.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/h8300/h8300-protos.h,v
retrieving revision 1.38
diff -u -r1.38 h8300-protos.h
--- h8300-protos.h 25 Dec 2002 14:54:50 -0000 1.38
+++ h8300-protos.h 26 Dec 2002 21:08:15 -0000
@@ -1,6 +1,6 @@
/* Definitions of target machine for GNU compiler.
Hitachi H8/300 version generating coff
- Copyright (C) 2000 Free SoftwareFoundation, Inc.
+ Copyright (C) 2000, 2002 Free Software Foundation, Inc.
Contributed by Steve Chamberlain (sac@cygnus.com),
Jim Wilson (wilson@cygnus.com), and Doug Evans (dje@cygnus.com).
Index: h8300.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/h8300/h8300.c,v
retrieving revision 1.185
diff -u -r1.185 h8300.c
--- h8300.c 25 Dec 2002 15:02:03 -0000 1.185
+++ h8300.c 26 Dec 2002 21:08:16 -0000
@@ -153,7 +153,7 @@
/* The shift algorithms for each machine, mode, shift type, and shift
count are defined below. The three tables below correspond to
QImode, HImode, and SImode, respectively. Each table is organized
- by, in the order of indecies, machine, shift type, and shift count. */
+ by, in the order of indices, machine, shift type, and shift count. */
static enum shift_alg shift_alg_qi[3][3][8] = {
{
@@ -1032,7 +1032,7 @@
rtx op;
enum machine_mode mode;
{
- /* We can except any general operand, expept that MEM operands must
+ /* We can accept any general operand, except that MEM operands must
be limited to those that use addresses valid for the 'U' constraint. */
if (!general_operand (op, mode))
return 0;
@@ -1067,7 +1067,7 @@
/* Handle machine specific pragmas for compatibility with existing
compilers for the H8/300.
- pragma saveall generates prolog/epilog code which saves and
+ pragma saveall generates prologue/epilogue code which saves and
restores all the registers on function entry.
pragma interrupt saves and restores all registers, and exits with
@@ -2384,7 +2384,7 @@
simulate a shift by 8, 16, or 24 bits. Once moved, a few inline
shifts can be added if the shift count is slightly more than 8 or
16. This case also includes other oddballs that are not worth
- explaning here.
+ explaining here.
o SHIFT_LOOP: Emit a loop using one (or two on H8S) bit shifts.
@@ -4143,7 +4143,7 @@
states += 6;
}
- /* We use 2-bit rotatations on the H8S. */
+ /* We use 2-bit rotations on the H8S. */
if (TARGET_H8300S)
amount = amount / 2 + amount % 2;