summaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-13 17:30:53 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-13 17:30:53 +0000
commitdfcd8f351fb6d62c14d0ed2e7123923688c2657b (patch)
treebd8e420c0c72d978b855451ad6da05e43e9cbc05 /gcc/fold-const.c
parentdaece349759699d20862719e0d194c1af284c555 (diff)
downloadgcc-dfcd8f351fb6d62c14d0ed2e7123923688c2657b.tar.gz
* builtins.c: Fix comment typos.
* fold-const.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67907 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r--gcc/fold-const.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index c8bbca4a7c8..bdc84de96f2 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