aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-data-ref.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2005-12-21 16:48:59 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-12-21 16:48:59 +0000
commit0dd4b47b7fc8c9f9296429d348ec64df5afeb35a (patch)
tree0990c6705e08d5b4c38ec5a270b8925019dc291c /gcc/tree-data-ref.c
parentad44e786b879ce503b59b9e3afd5abb821133f88 (diff)
downloadgcc-0dd4b47b7fc8c9f9296429d348ec64df5afeb35a.zip
gcc-0dd4b47b7fc8c9f9296429d348ec64df5afeb35a.tar.gz
gcc-0dd4b47b7fc8c9f9296429d348ec64df5afeb35a.tar.bz2
tree-data-ref.c (estimate_niter_from_size_of_data): Replace fold_build2 with fold_binary.
* tree-data-ref.c (estimate_niter_from_size_of_data): Replace fold_build2 with fold_binary. * tree-ssa-ccp.c (visit_assignment, maybe_fold_stmt_addition): Replace fold_build1 with fold_unary. * tree-ssa-reassoc.c (optimize_ops_list): Replace fold_build2 with fold_binary. From-SVN: r108913
Diffstat (limited to 'gcc/tree-data-ref.c')
-rw-r--r--gcc/tree-data-ref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-data-ref.c b/gcc/tree-data-ref.c
index 10a223e..d1f2bf5 100644
--- a/gcc/tree-data-ref.c
+++ b/gcc/tree-data-ref.c
@@ -786,7 +786,7 @@ estimate_niter_from_size_of_data (struct loop *loop,
&& TREE_CODE (step) == INTEGER_CST)
{
tree i_plus_s = fold_build2 (PLUS_EXPR, integer_type_node, init, step);
- tree sign = fold_build2 (GT_EXPR, boolean_type_node, i_plus_s, init);
+ tree sign = fold_binary (GT_EXPR, boolean_type_node, i_plus_s, init);
if (sign == boolean_true_node)
estimation = fold_build2 (CEIL_DIV_EXPR, integer_type_node,