aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorRoger Sayle <roger@eyesopen.com>2004-04-20 02:56:44 +0000
committerRoger Sayle <sayle@gcc.gnu.org>2004-04-20 02:56:44 +0000
commite419fe91e53678f478dfcd1c3367e563f3c07433 (patch)
treed5d577655dfb86748c85dcbeb13bb119334f02d8 /gcc/tree.h
parent60c90ad15839985578b6731b0bfb36258cd16889 (diff)
downloadgcc-e419fe91e53678f478dfcd1c3367e563f3c07433.zip
gcc-e419fe91e53678f478dfcd1c3367e563f3c07433.tar.gz
gcc-e419fe91e53678f478dfcd1c3367e563f3c07433.tar.bz2
fold-const.c (fold_convert): Make function extern/public.
* fold-const.c (fold_convert): Make function extern/public. * tree.h (fold_convert): Prototype here. * builtins.c (expand_builtin_strstr, expand_builtin_strchr, expand_builtin_strrchr, expand_builtin_strpbrk, expand_builtin_mempcpy, expand_builtin_bcopy, expand_builtin_bzero, expand_builtin_memcmp, expand_builtin_strcmp, expand_builtin_strncmp, stabilize_va_list, expand_builtin_sprintf, fold_trunc_transparent_mathfn, fold_builtin_logarithm, fold_builtin_exponent, fold_builtin_mempcpy, fold_builtin_strcpy, fold_builtin_strcmp, fold_builtin_strncmp, fold_builtin_signbit, fold_builtin_isdigit, fold_builtin): Prefer fold_convert to "convert" or "fold (build1 (NOP_EXPR, ...))". From-SVN: r80878
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 12dec42..52a17f0 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -2940,6 +2940,7 @@ extern void using_eh_for_cleanups (void);
extern tree fold (tree);
extern tree fold_initializer (tree);
+extern tree fold_convert (tree, tree);
extern tree fold_single_bit_test (enum tree_code, tree, tree, tree);
extern int force_fit_type (tree, int);