diff options
Diffstat (limited to 'gcc/tree-data-ref.c')
-rw-r--r-- | gcc/tree-data-ref.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-data-ref.c b/gcc/tree-data-ref.c index 4d96311..e0223c3 100644 --- a/gcc/tree-data-ref.c +++ b/gcc/tree-data-ref.c @@ -729,7 +729,7 @@ dr_analyze_alias (struct data_reference *dr) } DR_SYMBOL_TAG (dr) = smt; - if (var_can_have_subvars (smt)) + if (smt && var_can_have_subvars (smt)) DR_SUBVARS (dr) = get_subvars_for_var (smt); vops = BITMAP_ALLOC (NULL); |