diff options
Diffstat (limited to 'gcc/tree-loop-distribution.c')
-rw-r--r-- | gcc/tree-loop-distribution.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-loop-distribution.c b/gcc/tree-loop-distribution.c index be1a1ee2058..099a7fe479f 100644 --- a/gcc/tree-loop-distribution.c +++ b/gcc/tree-loop-distribution.c @@ -397,7 +397,7 @@ generate_builtin (struct loop *loop, bitmap partition, bool copy_p) op1 = gimple_assign_rhs1 (write); if (!(TREE_CODE (op0) == ARRAY_REF - || TREE_CODE (op0) == INDIRECT_REF)) + || TREE_CODE (op0) == MEM_REF)) goto end; /* The new statements will be placed before LOOP. */ |