tree.h (fixed_zerop): Declare as taking a const_tree.

* tree.h (fixed_zerop): Declare as taking a const_tree.
        * tree.c (fixed_zerop): Take a const_tree.

From-SVN: r127316
This commit is contained in:
Michael Matz 2007-08-09 13:56:45 +00:00 committed by Michael Matz
parent cd7ae74d27
commit 3eb0da77ce
3 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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));

View File

@ -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. */