diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2004-11-08 22:38:12 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2004-11-08 22:38:12 +0000 |
commit | e1a8be3fb0f9ebb168e8e007844cc2361c9c5116 (patch) | |
tree | 0a403ea6904ca0e4c94bc4439c6c73927d8f07af /gcc | |
parent | 1d9d86833d43af71da3b984092db7027130a8c25 (diff) | |
download | gcc-e1a8be3fb0f9ebb168e8e007844cc2361c9c5116.zip gcc-e1a8be3fb0f9ebb168e8e007844cc2361c9c5116.tar.gz gcc-e1a8be3fb0f9ebb168e8e007844cc2361c9c5116.tar.bz2 |
tree-ssa-loop-niter.c (upper_bound_in_type, [...]): Make them static.
* 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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/tree-ssa-loop-niter.c | 4 | ||||
-rw-r--r-- | gcc/tree.h | 4 |
3 files changed, 8 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4c08af6..a756a24 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 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 static. * tree-ssa-live.h: Remove the corresponding prototypes. diff --git a/gcc/tree-ssa-loop-niter.c b/gcc/tree-ssa-loop-niter.c index 496b3f3..6352ba0 100644 --- a/gcc/tree-ssa-loop-niter.c +++ b/gcc/tree-ssa-loop-niter.c @@ -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; @@ -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); |