Commit b1940f0c by Andrew Pinski Committed by Andrew Pinski

re PR tree-optimization/17558 (internal compiler error: in merge_alias_info, at…

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
parent 1a94c545
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.
2004-09-20 Jan Hubicka <jh@suse.cz>
PR middle-end/16460
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment