diff options
Diffstat (limited to 'gcc/tree-alias-common.c')
-rw-r--r-- | gcc/tree-alias-common.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree-alias-common.c b/gcc/tree-alias-common.c index 790d70aa79f..a7ce22d8782 100644 --- a/gcc/tree-alias-common.c +++ b/gcc/tree-alias-common.c @@ -448,7 +448,10 @@ find_func_aliases (tree stp) { op0 = TREE_OPERAND (stp, 0); op1 = TREE_OPERAND (stp, 1); + if (TREE_CODE (op1) == WITH_SIZE_EXPR) + op1 = TREE_OPERAND (op1, 0); } + /* lhsAV should always have an alias variable */ lhsAV = get_alias_var (op0); if (!lhsAV) |