diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-26 21:21:34 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-26 21:21:34 +0000 |
commit | 49d00087091a73bd5ed4e29ea8afd093cac6c58f (patch) | |
tree | 2b44df571f1322c6e8919fb2cb0153a1b07bc292 /gcc/tree-ssa-loop-manip.c | |
parent | b5b8d5d10f38daca6cd6b592e4d63a5d809fbe82 (diff) | |
download | gcc-49d00087091a73bd5ed4e29ea8afd093cac6c58f.tar.gz |
* 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 (...)).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101338 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-loop-manip.c')
-rw-r--r-- | gcc/tree-ssa-loop-manip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-ssa-loop-manip.c b/gcc/tree-ssa-loop-manip.c index bbee7e65edf..cbd03b73061 100644 --- a/gcc/tree-ssa-loop-manip.c +++ b/gcc/tree-ssa-loop-manip.c @@ -75,7 +75,7 @@ create_iv (tree base, tree step, tree var, struct loop *loop, { if (TYPE_UNSIGNED (TREE_TYPE (step))) { - step1 = fold (build1 (NEGATE_EXPR, TREE_TYPE (step), step)); + step1 = fold_build1 (NEGATE_EXPR, TREE_TYPE (step), step); if (tree_int_cst_lt (step1, step)) { incr_op = MINUS_EXPR; @@ -88,7 +88,7 @@ create_iv (tree base, tree step, tree var, struct loop *loop, && may_negate_without_overflow_p (step)) { incr_op = MINUS_EXPR; - step = fold (build1 (NEGATE_EXPR, TREE_TYPE (step), step)); + step = fold_build1 (NEGATE_EXPR, TREE_TYPE (step), step); } } } |