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>
* Makefile.in (TAGS): Include libcpp and libiberty.
......@@ -5915,19 +5915,14 @@ intra_create_variable_infos (struct function *fn)
continue;
}
if (restrict_pointer_p)
make_constraint_from_global_restrict (p, "PARM_RESTRICT", true);
else
for (; p; p = vi_next (p))
{
for (; p; p = vi_next (p))
{
if (p->only_restrict_pointers)
make_constraint_from_global_restrict (p, "PARM_RESTRICT", true);
else if (p->may_have_pointers)
make_constraint_from (p, nonlocal_id);
if (p->is_full_var)
break;
}
if (p->only_restrict_pointers)
make_constraint_from_global_restrict (p, "PARM_RESTRICT", true);
else if (p->may_have_pointers)
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