aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2003-06-13 17:30:53 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2003-06-13 17:30:53 +0000
commite15bb5c692fb17d5c56a0b0c9c60022186f6a539 (patch)
treebd8e420c0c72d978b855451ad6da05e43e9cbc05
parentd88e80e622609f3c4be7b852222d5daa7afca7c9 (diff)
downloadgcc-e15bb5c692fb17d5c56a0b0c9c60022186f6a539.zip
gcc-e15bb5c692fb17d5c56a0b0c9c60022186f6a539.tar.gz
gcc-e15bb5c692fb17d5c56a0b0c9c60022186f6a539.tar.bz2
builtins.c: Fix comment typos.
* builtins.c: Fix comment typos. * fold-const.c: Likewise. From-SVN: r67907
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/builtins.c2
-rw-r--r--gcc/fold-const.c4
3 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 484152d..1badeea 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2003-06-13 Kazu Hirata <kazu@cs.umass.edu>
+
+ * builtins.c: Fix comment typos.
+ * fold-const.c: Likewise.
+
2003-06-13 Doug Evans <dje@sebabeach.org>
Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
diff --git a/gcc/builtins.c b/gcc/builtins.c
index 9c5a18b..365f1e1 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -180,7 +180,7 @@ static void init_builtin_dconsts PARAMS ((void));
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 ()
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