X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Ftree-data-ref.c;h=d1f2bf58c6858ebcef4995b16b7fba1bf0b5d441;hb=89370a1eb374e74c85ca1a61447b853ee4f0c938;hp=10a223e2251b3c28e28e5ab632d5b5186a0c7123;hpb=1532ec98ed8763b683bf055299ea1c213203dd88;p=pf3gnuchains%2Fgcc-fork.git 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,