From 225a58a7705d6b8117a616aae2002cfc698d70e0 Mon Sep 17 00:00:00 2001 From: Daniel Berlin Date: Thu, 21 Dec 2006 17:32:01 +0000 Subject: [PATCH] tree-ssa-structalias.c (build_constraint_graph): Insert complex offsetted constraints into rhsvar, not lhsvar. 2006-12-21 Daniel Berlin * tree-ssa-structalias.c (build_constraint_graph): Insert complex offsetted constraints into rhsvar, not lhsvar. From-SVN: r120114 --- gcc/ChangeLog | 5 +++++ gcc/tree-ssa-structalias.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8d85e157256..e450bd7ba1d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-12-21 Daniel Berlin + + * tree-ssa-structalias.c (build_constraint_graph): Insert complex + offsetted constraints into rhsvar, not lhsvar. + 2006-12-21 Jakub Jelinek PR middle-end/30262 diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c index 068972fe236..5603b3ff87d 100644 --- a/gcc/tree-ssa-structalias.c +++ b/gcc/tree-ssa-structalias.c @@ -911,7 +911,7 @@ build_constraint_graph (void) 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); }