aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorRoger Sayle <roger@eyesopen.com>2004-06-10 13:29:34 +0000
committerRoger Sayle <sayle@gcc.gnu.org>2004-06-10 13:29:34 +0000
commit9655d83b750bc6de0074b0501044d4bcb28679d9 (patch)
treee940d7de6a39821eb5ab7003e89e3a25995283fa /gcc/tree.h
parenta7b155a6ad9475549f1c0e32bb7c29dc66567864 (diff)
downloadgcc-9655d83b750bc6de0074b0501044d4bcb28679d9.zip
gcc-9655d83b750bc6de0074b0501044d4bcb28679d9.tar.gz
gcc-9655d83b750bc6de0074b0501044d4bcb28679d9.tar.bz2
fold-const.c (fold_abs_const): Make extern.
* fold-const.c (fold_abs_const): Make extern. * tree.h (fold_abs_const): Prototype here. * builtins.c (fold_builtin_fabs): New function to transform fabs, fabsf and fabsl builtins into ABS_EXPR tree nodes. (fold_builtin_abs): New function to transform abs, labs, llabs and imaxabs builtins into ABS_EXPR tree nodes. (expand_builtin): Fall back to a function call for abs, labs, llabs and imaxabs builtins that survive constant folding. (fold_builtin_1): Call fold_builtin_fabs for FABS, FABSF and FABSL, and fold_builtin_abs for ABS, LABS, LLABS and IMAXABS. From-SVN: r82916
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 e867302..6e97bab 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -3462,6 +3462,7 @@ 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 tree fold_abs_const (tree, tree);
extern int force_fit_type (tree, int);
extern int add_double (unsigned HOST_WIDE_INT, HOST_WIDE_INT,