From e15bb5c692fb17d5c56a0b0c9c60022186f6a539 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Fri, 13 Jun 2003 17:30:53 +0000 Subject: builtins.c: Fix comment typos. * builtins.c: Fix comment typos. * fold-const.c: Likewise. From-SVN: r67907 --- gcc/fold-const.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/fold-const.c') diff --git a/gcc/fold-const.c b/gcc/fold-const.c index c8bbca4..bdc84de 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -8026,7 +8026,7 @@ tree_expr_nonnegative_p (t) 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 (t) && 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 -- cgit v1.1