[patch] gcc/*.c: Fix comment typos.

Kazu Hirata kazu@cs.umass.edu
Fri Jun 13 17:40:00 GMT 2003


Hi,

Attached is a patch to fix comment typos.  Committed as obvious.

Kazu Hirata

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

	* builtins.c: Fix comment typos.
	* fold-const.c: Likewise.

Index: builtins.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/builtins.c,v
retrieving revision 1.210
diff -u -r1.210 builtins.c
--- builtins.c	10 Jun 2003 13:05:49 -0000	1.210
+++ builtins.c	13 Jun 2003 17:25:10 -0000
@@ -180,7 +180,7 @@
 static tree fold_builtin_cabs		PARAMS ((tree, tree, tree));
 
 /* Initialize mathematical constants for constant folding builtins.
-   These constants need to be given to atleast 160 bits precision.  */
+   These constants need to be given to at least 160 bits precision.  */
 
 static void
 init_builtin_dconsts ()
Index: fold-const.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/fold-const.c,v
retrieving revision 1.262
diff -u -r1.262 fold-const.c
--- fold-const.c	13 Jun 2003 04:35:29 -0000	1.262
+++ fold-const.c	13 Jun 2003 17:25:13 -0000
@@ -8026,7 +8026,7 @@
 	return tree_expr_nonnegative_p (TREE_OPERAND (t, 0))
 	       && tree_expr_nonnegative_p (TREE_OPERAND (t, 1));
 
-      /* zero_extend(x) + zero_extend(y) is non-negative is x and y are
+      /* zero_extend(x) + zero_extend(y) is non-negative if x and y are
 	 both unsigned and at least 2 bits shorter than the result.  */
       if (TREE_CODE (TREE_TYPE (t)) == INTEGER_TYPE
 	  && TREE_CODE (TREE_OPERAND (t, 0)) == NOP_EXPR
@@ -8054,7 +8054,7 @@
 		 && tree_expr_nonnegative_p (TREE_OPERAND (t, 1));
 	}
 
-      /* zero_extend(x) * zero_extend(y) is non-negative is x and y are
+      /* zero_extend(x) * zero_extend(y) is non-negative if x and y are
 	 both unsigned and their total bits is shorter than the result.  */
       if (TREE_CODE (TREE_TYPE (t)) == INTEGER_TYPE
 	  && TREE_CODE (TREE_OPERAND (t, 0)) == NOP_EXPR



More information about the Gcc-patches mailing list