tree-ssa-loop-niter.c (upper_bound_in_type, [...]): Make them static.
authorKazu Hirata <kazu@cs.umass.edu>
Mon, 8 Nov 2004 22:38:12 +0000 (22:38 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Mon, 8 Nov 2004 22:38:12 +0000 (22:38 +0000)
* tree-ssa-loop-niter.c (upper_bound_in_type,
lower_bound_in_type): Make them static.
* tree.h: Remove the corresponding prototypes.

From-SVN: r90312

gcc/ChangeLog
gcc/tree-ssa-loop-niter.c
gcc/tree.h

index 4c08af64912992e8b97688fa9035899cd7dc9fa7..a756a2491d06e1ccf3dc594bfb03f127187238b0 100644 (file)
@@ -1,3 +1,9 @@
+2004-11-08  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-ssa-loop-niter.c (upper_bound_in_type,
+       lower_bound_in_type): Make them static.
+       * tree.h: Remove the corresponding prototypes.
+
 2004-11-08  Kazu Hirata  <kazu@cs.umass.edu>
 
        * tree-ssa-live.c (tpa_init, pop_best_coalesce): Make them
index 496b3f3eebdbfbe94b07747a43eded55d379e4d8..6352ba0345edce791b0df6494af33ead026cd2fc 100644 (file)
@@ -1106,7 +1106,7 @@ compare_trees (tree a, tree b)
 /* Returns the largest value obtainable by casting something in INNER type to
    OUTER type.  */
 
-tree
+static tree
 upper_bound_in_type (tree outer, tree inner)
 {
   unsigned HOST_WIDE_INT lo, hi;
@@ -1152,7 +1152,7 @@ upper_bound_in_type (tree outer, tree inner)
 /* Returns the smallest value obtainable by casting something in INNER type to
    OUTER type.  */
 
-tree
+static tree
 lower_bound_in_type (tree outer, tree inner)
 {
   unsigned HOST_WIDE_INT lo, hi;
index b35066d1ba4f9901755d0358ebe6c2e851fc5d1f..b0b6c955c3454b1f04703a318fe900f3955dccad 100644 (file)
@@ -3923,10 +3923,6 @@ extern int tree_node_sizes[];
    restricted to creating gimple expressions.  */
 extern bool in_gimple_form;
 
-/* In tree-ssa-loop-niter.c.  */
-tree lower_bound_in_type (tree, tree);
-tree upper_bound_in_type (tree, tree);
-
 /* In tree-ssa-threadupdate.c.  */
 extern bool thread_through_all_blocks (void);