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.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c
index 6f157a1..f482c72 100644
--- a/gcc/tree-ssa-structalias.c
+++ b/gcc/tree-ssa-structalias.c
@@ -7371,17 +7371,7 @@ ipa_pta_execute (void)
fi = lookup_vi_for_tree (node->decl);
rvi = first_vi_for_offset (fi, fi_result);
if (rvi && rvi->offset == fi_result)
- {
- struct constraint_expr includes;
- struct constraint_expr var;
- includes.var = escaped_id;
- includes.offset = 0;
- includes.type = SCALAR;
- var.var = rvi->id;
- var.offset = 0;
- var.type = SCALAR;
- process_constraint (new_constraint (includes, var));
- }
+ make_copy_constraint (get_varinfo (escaped_id), rvi->id);
}
}