diff options
Diffstat (limited to 'gcc/tree-ssa-loop-im.c')
-rw-r--r-- | gcc/tree-ssa-loop-im.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/tree-ssa-loop-im.c b/gcc/tree-ssa-loop-im.c index cad14452a16..91c18174bc0 100644 --- a/gcc/tree-ssa-loop-im.c +++ b/gcc/tree-ssa-loop-im.c @@ -208,6 +208,10 @@ for_each_index (tree *addr_p, bool (*cbck) (tree, tree *, void *), void *data) case CONSTRUCTOR: return true; + case ADDR_EXPR: + gcc_assert (is_gimple_min_invariant (*addr_p)); + return true; + case TARGET_MEM_REF: idx = &TMR_BASE (*addr_p); if (*idx |