diff options
Diffstat (limited to 'gcc/tree-ssa-copy.c')
-rw-r--r-- | gcc/tree-ssa-copy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-ssa-copy.c b/gcc/tree-ssa-copy.c index 7b27c68b1bd..611bae77bad 100644 --- a/gcc/tree-ssa-copy.c +++ b/gcc/tree-ssa-copy.c @@ -112,8 +112,8 @@ may_propagate_copy (tree dest, tree orig) return false; else if (!lang_hooks.types_compatible_p (type_d, type_o)) return false; - else if (!alias_sets_conflict_p (get_alias_set (type_d), - get_alias_set (type_o))) + else if (!alias_sets_conflict_p (get_alias_set (TREE_TYPE (type_d)), + get_alias_set (TREE_TYPE (type_o)))) return false; } |