aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorRoger Sayle <roger@eyesopen.com>2007-01-28 05:04:48 +0000
committerRoger Sayle <sayle@gcc.gnu.org>2007-01-28 05:04:48 +0000
commitb73a6056563470e5b99e79a0dc769c351e906e6e (patch)
treed5119687bedfd7a7f56d6218696508ae430f8416 /gcc/tree.h
parent74890d7bbdacf14edfcd1e50bac0e5053a2bdf53 (diff)
downloadgcc-b73a6056563470e5b99e79a0dc769c351e906e6e.zip
gcc-b73a6056563470e5b99e79a0dc769c351e906e6e.tar.gz
gcc-b73a6056563470e5b99e79a0dc769c351e906e6e.tar.bz2
tree.c (tree_fold_gcd): Delete.
* tree.c (tree_fold_gcd): Delete. * tree.h (tree_fold_gcd): Remove prototype. * tree-data-ref.c (tree_fold_divides_p): Don't use tree_fold_gcd to test whether one constant integer is a multiple of another. Instead call int_const_binop with TRUNC_MOD_EXPR and test for a zero result. * fold-const.c (multiple_of_p): We've determined both TOP and BOTTOM are integer constants so we can call int_const_binop directly instead of the more generic const_binop. From-SVN: r121253
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index cbb47cc..ddb7e6a 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -4454,7 +4454,6 @@ extern void build_common_builtin_nodes (void);
extern tree build_nonstandard_integer_type (unsigned HOST_WIDE_INT, int);
extern tree build_range_type (tree, tree, tree);
extern HOST_WIDE_INT int_cst_value (tree);
-extern tree tree_fold_gcd (tree, tree);
extern tree build_addr (tree, tree);
extern bool fields_compatible_p (tree, tree);