* tree-ssa-structalias.c (build_constraint_graph): Insert complex
offsetted constraints into rhsvar, not lhsvar.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120114
138bc75d-0d04-0410-961f-
82ee72b054a4
+2006-12-21 Daniel Berlin <dberlin@dberlin.org>
+
+ * tree-ssa-structalias.c (build_constraint_graph): Insert complex
+ offsetted constraints into rhsvar, not lhsvar.
+
2006-12-21 Jakub Jelinek <jakub@redhat.com>
PR middle-end/30262
if (lhsvar != rhsvar || rhs.offset != 0 || lhs.offset != 0)
{
if (rhs.offset != 0 || lhs.offset != 0)
- insert_into_complex (lhsvar, c);
+ insert_into_complex (rhsvar, c);
else
add_graph_edge (graph, lhs.var, rhs.var);
}