tree.h (fixed_zerop): Declare as taking a const_tree.
authorMichael Matz <matz@suse.de>
Thu, 9 Aug 2007 13:56:45 +0000 (13:56 +0000)
committerMichael Matz <matz@gcc.gnu.org>
Thu, 9 Aug 2007 13:56:45 +0000 (13:56 +0000)
        * tree.h (fixed_zerop): Declare as taking a const_tree.
        * tree.c (fixed_zerop): Take a const_tree.

From-SVN: r127316

gcc/ChangeLog
gcc/tree.c
gcc/tree.h

index 010ed44..8dcf5b1 100644 (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
index 9a08a68..af1e1bd 100644 (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));
index c7301fc..808897b 100644 (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.  */