summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-copy.c
diff options
context:
space:
mode:
authorAndrew Pinski <pinskia@physics.uc.edu>2004-09-20 20:53:08 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2004-09-20 13:53:08 -0700
commitb1940f0c232babf4881370b05354fa78f8d922f4 (patch)
treea6cabef772eaf0f0b3ab7b827165ef6bccbf8bc5 /gcc/tree-ssa-copy.c
parent1a94c545f042021777073269af02e9f9b4fec043 (diff)
downloadgcc-b1940f0c232babf4881370b05354fa78f8d922f4.tar.gz
re PR tree-optimization/17558 (internal compiler error: in merge_alias_info, at tree-ssa-copy.c:182)
2004-09-20 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/17558 * tree-ssa-copy.c (may_propagate_copy): Only allow if the aliasing sets are the same rather than just conflicting. From-SVN: r87772
Diffstat (limited to 'gcc/tree-ssa-copy.c')
-rw-r--r--gcc/tree-ssa-copy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-ssa-copy.c b/gcc/tree-ssa-copy.c
index 611bae77bad..447f149ab4a 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 (TREE_TYPE (type_d)),
- get_alias_set (TREE_TYPE (type_o))))
+ else if (get_alias_set (TREE_TYPE (type_d)) !=
+ get_alias_set (TREE_TYPE (type_o)))
return false;
}