summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/tree-ssa-ccp.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/tree-ssa-ccp.c')
-rw-r--r--contrib/gcc/tree-ssa-ccp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/contrib/gcc/tree-ssa-ccp.c b/contrib/gcc/tree-ssa-ccp.c
index 6e74f35..e64d80b 100644
--- a/contrib/gcc/tree-ssa-ccp.c
+++ b/contrib/gcc/tree-ssa-ccp.c
@@ -1621,9 +1621,7 @@ maybe_fold_offset_to_array_ref (tree base, tree offset, tree orig_type)
if (!integer_zerop (elt_offset))
idx = int_const_binop (PLUS_EXPR, idx, elt_offset, 0);
- return build4 (ARRAY_REF, orig_type, base, idx, min_idx,
- size_int (tree_low_cst (elt_size, 1)
- / (TYPE_ALIGN_UNIT (elt_type))));
+ return build4 (ARRAY_REF, orig_type, base, idx, NULL_TREE, NULL_TREE);
}
OpenPOWER on IntegriCloud