aboutsummaryrefslogtreecommitdiff
path: root/gcc/lambda-code.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2005-06-26 21:21:34 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-06-26 21:21:34 +0000
commit987b67bc5502c1c826bcb6c6b41728d6e038c96f (patch)
tree2b44df571f1322c6e8919fb2cb0153a1b07bc292 /gcc/lambda-code.c
parentd967c45e83d3d79e100f88a5ed26c63c33e91754 (diff)
downloadgcc-987b67bc5502c1c826bcb6c6b41728d6e038c96f.zip
gcc-987b67bc5502c1c826bcb6c6b41728d6e038c96f.tar.gz
gcc-987b67bc5502c1c826bcb6c6b41728d6e038c96f.tar.bz2
builtins.c, [...]: Use fold_buildN instead of fold (buildN (...)).
* builtins.c, c-common.c, c-convert.c, c-decl.c, c-typeck.c, convert.c, lambda-code.c, predict.c, tree-cfg.c, tree-complex.c, tree-data-ref.c, tree-if-conv.c, tree-mudflap.c, tree-scalar-evolution.c, tree-ssa-ccp.c, tree-ssa-loop-ivcanon.c, tree-ssa-loop-ivopts.c, tree-ssa-loop-manip.c, tree-ssa-phiopt.c, tree-ssa-pre.c, tree-vect-analyze.c, tree-vect-transform.c, tree-vectorizer.c, tree.c: Use fold_buildN instead of fold (buildN (...)). From-SVN: r101338
Diffstat (limited to 'gcc/lambda-code.c')
-rw-r--r--gcc/lambda-code.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/lambda-code.c b/gcc/lambda-code.c
index 12431cb..29b3e5a 100644
--- a/gcc/lambda-code.c
+++ b/gcc/lambda-code.c
@@ -1592,7 +1592,7 @@ lbv_to_gcc_expression (lambda_body_vector lbv,
/* newname = coefficient * induction_variable */
coeffmult = build_int_cst (type, LBV_COEFFICIENTS (lbv)[i]);
stmt = build (MODIFY_EXPR, void_type_node, resvar,
- fold (build (MULT_EXPR, type, iv, coeffmult)));
+ fold_build2 (MULT_EXPR, type, iv, coeffmult));
newname = make_ssa_name (resvar, stmt);
TREE_OPERAND (stmt, 0) = newname;
@@ -1694,7 +1694,7 @@ lle_to_gcc_expression (lambda_linear_expression lle,
{
coeff = build_int_cst (type,
LLE_COEFFICIENTS (lle)[i]);
- mult = fold (build (MULT_EXPR, type, iv, coeff));
+ mult = fold_build2 (MULT_EXPR, type, iv, coeff);
}
/* newname = mult */
@@ -1735,7 +1735,7 @@ lle_to_gcc_expression (lambda_linear_expression lle,
else
{
coeff = build_int_cst (type, invcoeff);
- mult = fold (build (MULT_EXPR, type, invar, coeff));
+ mult = fold_build2 (MULT_EXPR, type, invar, coeff);
}
/* newname = mult */