This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fix comment misspelling


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]