diff options
| author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-12-21 16:48:59 +0000 |
|---|---|---|
| committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-12-21 16:48:59 +0000 |
| commit | 5f9acd886b17be8693b8c0b4591b274763915d33 (patch) | |
| tree | 0990c6705e08d5b4c38ec5a270b8925019dc291c /gcc/tree-data-ref.c | |
| parent | 788e09e2d3f9969ae8b85e120879494a9d5e3ae6 (diff) | |
| download | ppe42-gcc-5f9acd886b17be8693b8c0b4591b274763915d33.tar.gz ppe42-gcc-5f9acd886b17be8693b8c0b4591b274763915d33.zip | |
* 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
Diffstat (limited to 'gcc/tree-data-ref.c')
| -rw-r--r-- | gcc/tree-data-ref.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |

