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
This commit is contained in:
parent
5dba0fb845
commit
225a58a770
@ -1,3 +1,8 @@
|
|||||||
|
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)
|
|||||||
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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user