diff options
Diffstat (limited to 'gcc/tree-predcom.c')
-rw-r--r-- | gcc/tree-predcom.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree-predcom.c b/gcc/tree-predcom.c index 1d4e439..ea31302 100644 --- a/gcc/tree-predcom.c +++ b/gcc/tree-predcom.c @@ -732,6 +732,9 @@ split_data_refs_to_components (struct loop *loop, just fail. */ goto end; } + /* predcom pass isn't prepared to handle calls with data references. */ + if (is_gimple_call (DR_STMT (dr))) + goto end; dr->aux = (void *) (size_t) i; comp_father[i] = i; comp_size[i] = 1; |