diff options
Diffstat (limited to 'gcc/tree-predcom.c')
-rw-r--r-- | gcc/tree-predcom.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/tree-predcom.c b/gcc/tree-predcom.c index be2cfc4..b90f5ce 100644 --- a/gcc/tree-predcom.c +++ b/gcc/tree-predcom.c @@ -1348,11 +1348,8 @@ ref_at_iteration (struct loop *loop, tree ref, int iter) && TREE_CODE (ref) != MEM_REF) return unshare_expr (ref); - if (INDIRECT_REF_P (ref) - || TREE_CODE (ref) == MEM_REF) + if (TREE_CODE (ref) == MEM_REF) { - /* Take care for MEM_REF and MISALIGNED_INDIRECT_REF at - the same time. */ ret = unshare_expr (ref); idx = TREE_OPERAND (ref, 0); idx_p = &TREE_OPERAND (ret, 0); |