Commit 38b882b5 by Tom de Vries Committed by Tom de Vries

Remove superfluous code in intra_create_variable_infos

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

	* tree-ssa-structalias.c (intra_create_variable_infos): Remove
	superfluous code.

From-SVN: r229506
parent e922069e
2015-10-28 Tom de Vries <tom@codesourcery.com>
* tree-ssa-structalias.c (intra_create_variable_infos): Remove
superfluous code.
2015-10-28 Jason Merrill <jason@redhat.com> 2015-10-28 Jason Merrill <jason@redhat.com>
* Makefile.in (TAGS): Include libcpp and libiberty. * Makefile.in (TAGS): Include libcpp and libiberty.
...@@ -5915,19 +5915,14 @@ intra_create_variable_infos (struct function *fn) ...@@ -5915,19 +5915,14 @@ intra_create_variable_infos (struct function *fn)
continue; continue;
} }
if (restrict_pointer_p) for (; p; p = vi_next (p))
make_constraint_from_global_restrict (p, "PARM_RESTRICT", true);
else
{ {
for (; p; p = vi_next (p)) if (p->only_restrict_pointers)
{ make_constraint_from_global_restrict (p, "PARM_RESTRICT", true);
if (p->only_restrict_pointers) else if (p->may_have_pointers)
make_constraint_from_global_restrict (p, "PARM_RESTRICT", true); make_constraint_from (p, nonlocal_id);
else if (p->may_have_pointers) if (p->is_full_var)
make_constraint_from (p, nonlocal_id); break;
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