aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-structalias.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
-rw-r--r--gcc/tree-ssa-structalias.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c
index 068972f..5603b3f 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);
}