This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] ChangeLog*, config/*: Fix comment typos.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 17 Jun 2003 15:04:02 -0400 (EDT)
- Subject: [patch] ChangeLog*, config/*: Fix comment typos.
Hi,
Attached is a patch to fix comment typos. Committed as obvious.
Kazu Hirata
2003-06-17 Kazu Hirata <kazu@cs.umass.edu>
* ChangeLog.3: Fix comment typos.
* ChangeLog.6: Likewise.
* config/d30v/d30v.c: Likewise.
* config/h8300/h8300.md: Likewise.
* config/m32r/m32r.md: Likewise.
* config/mips/mips.c: Likewise.
* config/mips/mips.md: Likewise.
* config/ns32k/NOTES: Likewise.
Index: ChangeLog.3
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ChangeLog.3,v
retrieving revision 1.15
diff -u -r1.15 ChangeLog.3
--- ChangeLog.3 13 Jun 2003 11:36:29 -0000 1.15
+++ ChangeLog.3 17 Jun 2003 18:52:18 -0000
@@ -14863,9 +14863,9 @@
2000-01-24 Richard Henderson <rth@cygnus.com>
- * rtl.def: Add unordered fp comparisions.
+ * rtl.def: Add unordered fp comparisons.
* tree.def: Likewise.
- * tree.h: Add ISO C 9x unordered fp comparision builtins.
+ * tree.h: Add ISO C 9x unordered fp comparison builtins.
* builtins.c (expand_tree_builtin): New function.
* c-typeck.c (build_function_call): Use it.
Index: ChangeLog.6
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ChangeLog.6,v
retrieving revision 1.11
diff -u -r1.11 ChangeLog.6
--- ChangeLog.6 28 Sep 2002 15:29:33 -0000 1.11
+++ ChangeLog.6 17 Jun 2003 18:52:30 -0000
@@ -10043,7 +10043,7 @@
* config/i386/i386.c (ix86_init_builtins): Correct return type
building v4hi_ftype_v4hi_int_int tree node.
(ix86_expand_sse_comi): Fix typo swapping operands.
- Don't swap comparision condition, it is already swapped.
+ Don't swap comparison condition, it is already swapped.
(ix86_expand_sse_compare): Before swapping operands
move operand 1 into new rtx and not the target rtx.
Don't swap comparison condition, it is already swapped.
Index: config/d30v/d30v.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/d30v/d30v.c,v
retrieving revision 1.31
diff -u -r1.31 d30v.c
--- config/d30v/d30v.c 14 May 2003 07:29:45 -0000 1.31
+++ config/d30v/d30v.c 17 Jun 2003 18:52:33 -0000
@@ -2891,8 +2891,8 @@
letter = 'T';
/* FALLTHRU */
- case 'F': /* Print an appropriate suffix for a false comparision. */
- case 'T': /* Print an appropriate suffix for a true comparision. */
+ case 'F': /* Print an appropriate suffix for a false comparison. */
+ case 'T': /* Print an appropriate suffix for a true comparison. */
/* Note that the sense of appropriate suffix is for conditional execution
and opposite of what branches want. Branches just use the inverse
operation. */
Index: config/h8300/h8300.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/h8300/h8300.md,v
retrieving revision 1.218
diff -u -r1.218 h8300.md
--- config/h8300/h8300.md 11 Jun 2003 04:03:55 -0000 1.218
+++ config/h8300/h8300.md 17 Jun 2003 18:52:34 -0000
@@ -4180,7 +4180,7 @@
(pc)))]
"operands[4] = GEN_INT (- INTVAL (operands[1]));")
-;; For certain (in)equaltity comparisions against a constant, we can
+;; For certain (in)equaltity comparisons against a constant, we can
;; XOR the register with the constant, and test the register against
;; 0.
Index: config/m32r/m32r.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/m32r/m32r.md,v
retrieving revision 1.27
diff -u -r1.27 m32r.md
--- config/m32r/m32r.md 15 Jun 2003 07:51:34 -0000 1.27
+++ config/m32r/m32r.md 17 Jun 2003 18:52:35 -0000
@@ -2477,7 +2477,7 @@
if (! zero_and_one (operands [2], operands [3]))
FAIL;
- /* Generate the comparision that will set the carry flag. */
+ /* Generate the comparison that will set the carry flag. */
operands[1] = gen_compare (GET_CODE (operands[1]), m32r_compare_op0,
m32r_compare_op1, TRUE);
Index: config/mips/mips.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mips/mips.c,v
retrieving revision 1.281
diff -u -r1.281 mips.c
--- config/mips/mips.c 17 Jun 2003 11:44:52 -0000 1.281
+++ config/mips/mips.c 17 Jun 2003 18:52:40 -0000
@@ -9622,7 +9622,7 @@
/* The kind of comparison we are doing. */
enum rtx_code code = GET_CODE (operands[0]);
/* Nonzero if the opcode for the comparison needs a `z' indicating
- that it is a comparision against zero. */
+ that it is a comparison against zero. */
int need_z_p;
/* A string to use in the assembly output to represent the first
operand. */
@@ -9860,7 +9860,7 @@
strcpy (buffer, "%(%<%[");
c = strchr (buffer, '\0');
- /* Generate the reversed comparision. This takes four
+ /* Generate the reversed comparison. This takes four
bytes. */
if (float_p)
sprintf (c, "%%*b%s\t%%Z2%s",
Index: config/mips/mips.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mips/mips.md,v
retrieving revision 1.175
diff -u -r1.175 mips.md
--- config/mips/mips.md 17 Jun 2003 06:44:46 -0000 1.175
+++ config/mips/mips.md 17 Jun 2003 18:52:42 -0000
@@ -6886,7 +6886,7 @@
[(set_attr "type" "branch")
(set_attr "mode" "none")])
-;; Conditional branch on equality comparision.
+;; Conditional branch on equality comparison.
(define_insn "branch_equality"
[(set (pc)
Index: config/ns32k/NOTES
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/ns32k/NOTES,v
retrieving revision 1.2
diff -u -r1.2 NOTES
--- config/ns32k/NOTES 15 Jun 2003 04:00:48 -0000 1.2
+++ config/ns32k/NOTES 17 Jun 2003 18:52:42 -0000
@@ -12,7 +12,7 @@
The ns32x81 fpu handles most operands in hardware, but traps on NaN,
Inf and Denormalized numbers. The correct behavior can be handled by
the trap handler. This is mostly transparent to the compiler, but in
-the case of floating point comparisions, the trap handler and the
+the case of floating point comparisons, the trap handler and the
compiler must co-operate.
Comparing a Nan with anything (including another Nan) is an unordered
@@ -90,7 +90,7 @@
which is, in effect "branch if not less than and not unordered."
-These extra comparisions are safe if the trap handler doesn't set the
+These extra comparisons are safe if the trap handler doesn't set the
L flag, since in that case the additional "bhi" instructions are never
taken. Also, these extra branch instructions are controlled by the
"-mieee-compare" option.