aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>2005-09-07 12:39:03 +0000
committerRichard Kenner <kenner@gcc.gnu.org>2005-09-07 08:39:03 -0400
commit9f36bc49f8e9af63c64536da3e6085274c842e5b (patch)
treeac1902a634314b84a9b2749dffc854acb30737c8 /gcc/tree.c
parent085fd657f957e7e1741b92423222ee6542d8ae91 (diff)
downloadgcc-9f36bc49f8e9af63c64536da3e6085274c842e5b.zip
gcc-9f36bc49f8e9af63c64536da3e6085274c842e5b.tar.gz
gcc-9f36bc49f8e9af63c64536da3e6085274c842e5b.tar.bz2
* tree.c (host_integerp, tree_low_cst): Correct function comment.
From-SVN: r103989
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 124ef5a..a7eeeae 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -4244,7 +4244,7 @@ tree_int_cst_compare (tree t1, tree t2)
/* Return 1 if T is an INTEGER_CST that can be manipulated efficiently on
the host. If POS is zero, the value can be represented in a single
- HOST_WIDE_INT. If POS is nonzero, the value must be positive and can
+ HOST_WIDE_INT. If POS is nonzero, the value must be non-negative and can
be represented in a single unsigned HOST_WIDE_INT. */
int
@@ -4262,7 +4262,7 @@ host_integerp (tree t, int pos)
/* Return the HOST_WIDE_INT least significant bits of T if it is an
INTEGER_CST and there is no overflow. POS is nonzero if the result must
- be positive. We must be able to satisfy the above conditions. */
+ be non-negative. We must be able to satisfy the above conditions. */
HOST_WIDE_INT
tree_low_cst (tree t, int pos)