Commit 225a58a7 by Daniel Berlin Committed by Daniel Berlin

tree-ssa-structalias.c (build_constraint_graph): Insert complex offsetted…

tree-ssa-structalias.c (build_constraint_graph): Insert complex offsetted constraints into rhsvar, not lhsvar.

2006-12-21  Daniel Berlin  <dberlin@dberlin.org>

	* tree-ssa-structalias.c (build_constraint_graph): Insert complex
	offsetted constraints into rhsvar, not lhsvar.

From-SVN: r120114
parent 5dba0fb8
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> 2006-12-21 Jakub Jelinek <jakub@redhat.com>
PR middle-end/30262 PR middle-end/30262
......
...@@ -911,7 +911,7 @@ build_constraint_graph (void) ...@@ -911,7 +911,7 @@ build_constraint_graph (void)
if (lhsvar != rhsvar || rhs.offset != 0 || lhs.offset != 0) if (lhsvar != rhsvar || rhs.offset != 0 || lhs.offset != 0)
{ {
if (rhs.offset != 0 || lhs.offset != 0) if (rhs.offset != 0 || lhs.offset != 0)
insert_into_complex (lhsvar, c); insert_into_complex (rhsvar, c);
else else
add_graph_edge (graph, lhs.var, rhs.var); add_graph_edge (graph, lhs.var, rhs.var);
} }
......
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