diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree.c | 2 | ||||
-rw-r--r-- | gcc/tree.h | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 010ed44..8dcf5b1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-08-09 Michael Matz <matz@suse.de> + + * tree.h (fixed_zerop): Declare as taking a const_tree. + * tree.c (fixed_zerop): Take a const_tree. + 2007-08-09 Ira Rosen <irar@il.ibm.com> * tree-vect-transform.c (vectorizable_store): Remove call to @@ -1460,7 +1460,7 @@ integer_nonzerop (const_tree expr) /* Return 1 if EXPR is the fixed-point constant zero. */ int -fixed_zerop (tree expr) +fixed_zerop (const_tree expr) { return (TREE_CODE (expr) == FIXED_CST && double_int_zero_p (TREE_FIXED_CST (expr).data)); @@ -4429,7 +4429,7 @@ extern tree num_ending_zeros (const_tree); /* fixed_zerop (tree x) is nonzero if X is a fixed-point constant of value 0. */ -extern int fixed_zerop (tree); +extern int fixed_zerop (const_tree); /* staticp (tree x) is nonzero if X is a reference to data allocated at a fixed address in memory. Returns the outermost data. */ |