aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/tree-ssa-structalias.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/tree-ssa-structalias.c')
-rw-r--r--gcc-4.9/gcc/tree-ssa-structalias.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/tree-ssa-structalias.c b/gcc-4.9/gcc/tree-ssa-structalias.c
index 347dba3e9..abc99ba37 100644
--- a/gcc-4.9/gcc/tree-ssa-structalias.c
+++ b/gcc-4.9/gcc/tree-ssa-structalias.c
@@ -6091,6 +6091,10 @@ find_what_var_points_to (varinfo_t orig_vi)
pt->ipa_escaped = 1;
else
pt->escaped = 1;
+ /* Expand some special vars of ESCAPED in-place here. */
+ varinfo_t evi = get_varinfo (find (escaped_id));
+ if (bitmap_bit_p (evi->solution, nonlocal_id))
+ pt->nonlocal = 1;
}
else if (vi->id == nonlocal_id)
pt->nonlocal = 1;