diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2004-11-04 23:22:30 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2004-11-04 23:22:30 +0000 |
commit | e0ce77087ddb36d0f29bdc43b840b7dbdec6d478 (patch) | |
tree | 60a3e790cb56f6fb015bb41fd7465afb5eb90363 | |
parent | 9167e1c07fac50ee6bfc9277a79a31be5f5e3dfb (diff) | |
download | gcc-e0ce77087ddb36d0f29bdc43b840b7dbdec6d478.zip gcc-e0ce77087ddb36d0f29bdc43b840b7dbdec6d478.tar.gz gcc-e0ce77087ddb36d0f29bdc43b840b7dbdec6d478.tar.bz2 |
expr.c (mostly_zero_p): Make it static.
* expr.c (mostly_zero_p): Make it static.
* tree.h: Remove the prototype for mostly_zeros_p.
From-SVN: r90089
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/expr.c | 2 | ||||
-rw-r--r-- | gcc/tree.h | 1 |
3 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1750358..fba5fde 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2004-11-04 Kazu Hirata <kazu@cs.umass.edu> + * expr.c (mostly_zero_p): Make it static. + * tree.h: Remove the prototype for mostly_zeros_p. + +2004-11-04 Kazu Hirata <kazu@cs.umass.edu> + * cfgrtl.c (force_nonfallthru_and_redirect): Make it static. 2004-11-04 Kazu Hirata <kazu@cs.umass.edu> @@ -4212,7 +4212,7 @@ count_type_elements (tree type) /* Return 1 if EXP contains mostly (3/4) zeros. */ -int +static int mostly_zeros_p (tree exp) { if (TREE_CODE (exp) == CONSTRUCTOR) @@ -3250,7 +3250,6 @@ extern bool initializer_zerop (tree); extern void categorize_ctor_elements (tree, HOST_WIDE_INT *, HOST_WIDE_INT *); extern HOST_WIDE_INT count_type_elements (tree); -extern int mostly_zeros_p (tree); /* add_var_to_bind_expr (bind_expr, var) binds var to bind_expr. */ |