From 5f9acd886b17be8693b8c0b4591b274763915d33 Mon Sep 17 00:00:00 2001 From: kazu Date: Wed, 21 Dec 2005 16:48:59 +0000 Subject: * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108913 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/tree-data-ref.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/tree-data-ref.c') diff --git a/gcc/tree-data-ref.c b/gcc/tree-data-ref.c index 10a223e2251..d1f2bf58c68 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, -- cgit v1.2.3