Fix comment misspelling

Matt Kraai kraai@alumni.cmu.edu
Fri Jun 13 04:47:00 GMT 2003


Howdy,

The following patch fixes a misspelling of "least" in a comment.

Committed as obvious.

-- 
Matt Kraai <kraai@alumni.cmu.edu>
Debian GNU/Linux Peon

	* fold-const.c (tree_expr_nonnegative_p): Fix misspelling
	of "least".

Index: gcc/fold-const.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/fold-const.c,v
retrieving revision 1.261
diff -3 -c -p -r1.261 fold-const.c
*** gcc/fold-const.c	12 Jun 2003 20:33:00 -0000	1.261
--- gcc/fold-const.c	13 Jun 2003 04:31:47 -0000
*************** tree_expr_nonnegative_p (t)
*** 8027,8033 ****
  	       && tree_expr_nonnegative_p (TREE_OPERAND (t, 1));
  
        /* zero_extend(x) + zero_extend(y) is non-negative is x and y are
! 	 both unsigned and at atleast 2 bits shorter than the result.  */
        if (TREE_CODE (TREE_TYPE (t)) == INTEGER_TYPE
  	  && TREE_CODE (TREE_OPERAND (t, 0)) == NOP_EXPR
  	  && TREE_CODE (TREE_OPERAND (t, 1)) == NOP_EXPR)
--- 8027,8033 ----
  	       && tree_expr_nonnegative_p (TREE_OPERAND (t, 1));
  
        /* zero_extend(x) + zero_extend(y) is non-negative is 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
  	  && TREE_CODE (TREE_OPERAND (t, 1)) == NOP_EXPR)



More information about the Gcc-patches mailing list