Commit 054e0889 by Tom de Vries Committed by Tom de Vries

Generate constraints only once in intra_create_variable_infos

2015-10-28  Tom de Vries  <tom@codesourcery.com>

	* tree-ssa-structalias.c (intra_create_variable_infos): Don't iterate
	into vi_next of a full_var.

From-SVN: r229490
parent 3781ab4b
2015-10-28 Tom de Vries <tom@codesourcery.com> 2015-10-28 Tom de Vries <tom@codesourcery.com>
* tree-ssa-structalias.c (intra_create_variable_infos): Don't iterate
into vi_next of a full_var.
2015-10-28 Tom de Vries <tom@codesourcery.com>
* tree-ssa-structalias.c (new_var_info, make_heapvar) * tree-ssa-structalias.c (new_var_info, make_heapvar)
(make_constraint_from_restrict, make_constraint_from_global_restrict) (make_constraint_from_restrict, make_constraint_from_global_restrict)
(create_function_info_for, create_variable_info_for_1) (create_function_info_for, create_variable_info_for_1)
...@@ -5925,6 +5925,8 @@ intra_create_variable_infos (struct function *fn) ...@@ -5925,6 +5925,8 @@ intra_create_variable_infos (struct function *fn)
make_constraint_from_global_restrict (p, "PARM_RESTRICT", true); make_constraint_from_global_restrict (p, "PARM_RESTRICT", true);
else if (p->may_have_pointers) else if (p->may_have_pointers)
make_constraint_from (p, nonlocal_id); make_constraint_from (p, nonlocal_id);
if (p->is_full_var)
break;
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment